Upgrade github action deps

This commit is contained in:
LoveSy 2023-12-17 17:57:39 +08:00 committed by topjohnwu
parent 6dfda6dc39
commit 6cda6c2fae

View File

@ -33,7 +33,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Set up JDK 17 - name: Set up JDK 17
uses: actions/setup-java@v3 uses: actions/setup-java@v4
with: with:
distribution: "temurin" distribution: "temurin"
java-version: "17" java-version: "17"
@ -86,17 +86,19 @@ jobs:
# Only upload artifacts built on Linux # Only upload artifacts built on Linux
- name: Upload build artifact - name: Upload build artifact
if: runner.os == 'Linux' if: runner.os == 'Linux'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: ${{ github.sha }} name: ${{ github.sha }}
path: out path: out
compression-level: 9
- name: Upload mapping and native debug symbols - name: Upload mapping and native debug symbols
if: runner.os == 'Linux' if: runner.os == 'Linux'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: ${{ github.sha }}-symbols name: ${{ github.sha }}-symbols
path: app/build/outputs path: app/build/outputs
compression-level: 9
test: test:
name: Test on ${{ matrix.api }} name: Test on ${{ matrix.api }}
@ -119,7 +121,7 @@ jobs:
python-version: "3.x" python-version: "3.x"
- name: Download build artifacts - name: Download build artifacts
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: ${{ github.sha }} name: ${{ github.sha }}
path: out path: out