Skip to content

Commit

Permalink
[release] 5.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
heyanLE committed Feb 24, 2024
1 parent 4e39ea6 commit 27f0198
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ jobs:
uses: actions/setup-java@v1.4.4
with:
java-version: 17
# Gradle 缓存配置
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Build
run: |
chmod +x ./gradlew
Expand Down Expand Up @@ -59,7 +66,8 @@ jobs:
run: |
cd private
rm -r ./mapping/${{ github.ref_name }} || ls
mv ../app/build/outputs/mapping/release ./mapping/${{ github.ref_name }}
mkdir -p ./mapping/${{ github.ref_name }}
mv ../app/build/outputs/mapping/release/* ./mapping/${{ github.ref_name }}
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add .
Expand Down

0 comments on commit 27f0198

Please sign in to comment.