Skip to content

Commit

Permalink
Update gitlab ci file
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelm committed Sep 16, 2024
1 parent 840e5c5 commit 16359dc
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@ test:
stage: test
script:
- cd pretixscan
- echo "github.token=$GITHUB_TOKEN" > local.properties
- git submodule init
- git submodule update
- GRADLE_USER_HOME=/cache ANDROID_HOME=/android-sdk-linux ./gradlew --no-daemon -Dmaven.repo.local=$(pwd)/repo lintPretixDebug --stacktrace
release:
stage: release
script:
- ln -s /keys/release.keystore release.keystore
- cat $KSTORE | base64 -d > release.keystore
- cd pretixscan
- cat /keys/local.properties > local.properties
- cat $LOCALPROP > local.properties
- git submodule init
- git submodule update
- GRADLE_USER_HOME=/cache ANDROID_HOME=/android-sdk-linux ./gradlew --no-daemon -Dmaven.repo.local=$(pwd)/repo assemblePretixRelease --stacktrace
Expand All @@ -28,7 +27,5 @@ release:
expire_in: '6 weeks'
only:
- '/^v.*$/'
tags:
- release
variables:
GIT_SUBMODULE_STRATEGY: recursive

0 comments on commit 16359dc

Please sign in to comment.