Skip to content

Commit

Permalink
更新 main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HSSkyBoy authored Aug 3, 2024
1 parent 3ac4315 commit 325da8f
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:

jobs:
build:
name: Build
runs-on: ubuntu-latest
name: Build
runs-on: ubuntu-latest
env:
CCACHE_COMPILERCHECK: '%compiler% -dumpmachine; %compiler% -dumpversion'
CCACHE_NOHASHDIR: 'true'
Expand All @@ -27,11 +27,11 @@ jobs:
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
run: |
if [ ! -z "${{ secrets.KEY_STORE }}" ]; then
echo androidStorePassword='${{ secrets.KEY_STORE_PASSWORD }}' >> gradle.properties
echo androidKeyAlias='${{ secrets.ALIAS }}' >> gradle.properties
echo androidKeyPassword='${{ secrets.KEY_PASSWORD }}' >> gradle.properties
echo androidStoreFile='key.jks' >> gradle.properties
echo ${{ secrets.KEY_STORE }} | base64 --decode > key.jks
echo "androidStorePassword=${{ secrets.KEY_STORE_PASSWORD }}" >> gradle.properties
echo "androidKeyAlias=${{ secrets.ALIAS }}" >> gradle.properties
echo "androidKeyPassword=${{ secrets.KEY_PASSWORD }}" >> gradle.properties
echo "androidStoreFile=key.jks" >> gradle.properties
echo "${{ secrets.KEY_STORE }}" | base64 --decode > key.jks
fi
- name: Checkout libxposed/api
Expand All @@ -46,11 +46,11 @@ jobs:
repository: libxposed/service
path: libxposed/service

- name: Setup Java
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
- name: Setup Java
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: '21'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
Expand Down Expand Up @@ -109,4 +109,3 @@ jobs:
path: |
patch-loader/build/outputs/mapping
manager/build/outputs/mapping

0 comments on commit 325da8f

Please sign in to comment.