-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
54c968d
commit 4bb3caf
Showing
3 changed files
with
12 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,26 +7,26 @@ on: | |
jobs: | ||
build: | ||
name: Deploy | ||
runs-on: macos-10.15 | ||
runs-on: macos-11 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 5 | ||
persist-credentials: false | ||
|
||
- name: Setup Java 11 | ||
uses: actions/setup-java@v1 | ||
- name: Setup Java 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 11 | ||
distribution: 'temurin' | ||
java-version: 17 | ||
|
||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
- name: Deploy Release | ||
run: | | ||
export ANDROID_SDK=$ANDROID_HOME | ||
export ANDROID_NDK=$ANDROID_HOME/ndk-bundle | ||
./gradlew publish -PgluonNexusDeployUsername=$NEXUS_DEPLOY_USERNAME -PgluonNexusDeployPassword=$NEXUS_DEPLOY_PASSWORD | ||
env: | ||
NEXUS_DEPLOY_USERNAME: ${{ secrets.NEXUS_DEPLOY_USERNAME }} | ||
|
@@ -44,4 +44,4 @@ jobs: | |
git commit gradle.properties -m "Prepare development of $newVersion" | ||
git push https://gluon-bot:[email protected]/$GITHUB_REPOSITORY HEAD:master | ||
env: | ||
PAT: ${{ secrets.PAT }} | ||
PAT: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters