mirror of
https://github.com/gkd-kit/gkd.git
synced 2024-11-16 11:42:22 +08:00
fix(actions): download-artifact
This commit is contained in:
parent
0b195f5c68
commit
e0565bd285
6
.github/workflows/Build-Apk.yml
vendored
6
.github/workflows/Build-Apk.yml
vendored
|
@ -34,17 +34,17 @@ jobs:
|
|||
- run: chmod 777 ./gradlew
|
||||
- run: ./gradlew app:assemble
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: outputs
|
||||
path: app/build/outputs
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: release
|
||||
path: app/build/outputs/apk/release
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: debug
|
||||
path: app/build/outputs/apk/debug
|
||||
|
|
17
.github/workflows/Build-Release.yml
vendored
17
.github/workflows/Build-Release.yml
vendored
|
@ -27,31 +27,40 @@ jobs:
|
|||
- run: chmod 777 ./gradlew
|
||||
- run: ./gradlew app:assemble
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: outputs
|
||||
path: app/build/outputs
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: release
|
||||
path: app/build/outputs/apk/release
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: debug
|
||||
path: app/build/outputs/apk/debug
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: CHANGELOG.md
|
||||
path: CHANGELOG.md
|
||||
|
||||
release:
|
||||
needs: build
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/download-artifact@v3
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: outputs
|
||||
path: outputs
|
||||
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: CHANGELOG.md
|
||||
|
||||
- run: ls -R
|
||||
|
||||
- id: create_release
|
||||
|
|
Loading…
Reference in New Issue
Block a user