Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/upload-artifact from 3 to 4 #120

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/debug_build5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,26 +40,26 @@ jobs:
- name: Build app bundle
run: ./gradlew app:bundleDebug
- name: generated APK file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: data-livewallpaper-debug(.apk)
path: ./app/build/outputs/apk/debug/*.apk
- name: generated app bundle
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bundletool(.aab)
path: ./app/build/outputs/bundle/debug
- name: bundletool build-apks
run: java -jar ./bundletool.jar build-apks --bundle=./app/build/outputs/bundle/debug/app-debug.aab --output=./MyApp/my_app.apks --ks=./app/android-LQ0F5.keystore --ks-pass=pass:${{ secrets.KEYSTORE_PASSWORD }} --key-pass=pass:${{ secrets.KEY_PASSWORD }} --ks-key-alias=${{ secrets.KEY_ALIAS }}
- name: apks
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: apks(.apks)
path: ./MyApp/my_app.apks
- name: bundletool build-apks nokia5.json
run: java -jar ./bundletool.jar build-apks --device-spec=./nokia5.json --bundle=./app/build/outputs/bundle/debug/app-debug.aab --output=./MyApp/nokia5_app.apks --ks=./app/android-LQ0F5.keystore --ks-pass=pass:${{ secrets.KEYSTORE_PASSWORD }} --key-pass=pass:${{ secrets.KEY_PASSWORD }} --ks-key-alias=${{ secrets.KEY_ALIAS }}
- name: apks nokia5
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nokia5(.apks)
path: ./MyApp/nokia5_app.apks
Expand All @@ -83,7 +83,7 @@ jobs:
./gradlew check

- name: reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: reports
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:


- name: upload lint result
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lint-results
path: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/relase_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,28 +54,28 @@ jobs:
run: java -jar ./bundletool.jar build-apks --device-spec=./nokia5.json --bundle=./app/build/outputs/bundle/release/app-release.aab --output=./MyApp/data_live_wallpaper_nokia5_relase.apks --ks=./app/android-LQ0F5.keystore --ks-pass=pass:${{ secrets.KEYSTORE_PASSWORD }} --key-pass=pass:${{ secrets.KEY_PASSWORD }} --ks-key-alias=${{ secrets.KEY_ALIAS }}

- name: debug&relase_APK
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: debug&relase_APK
path: |
./app/build/outputs/apk/debug/data_live_wallpaper_debug.apk
./app/build/outputs/apk/release/data_live_wallpaper_release.apk
- name: debug&relase_APKS
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: debug&relase_APKS
path: |
./MyApp/data_live_wallpaper_debug_all.apks
./MyApp/data_live_wallpaper_relase_all.apks
- name: debug&relase_Nokia5_APKS
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: debug&relase_Nokia5_APKS
path: |
./MyApp/data_live_wallpaper_nokia5_debug.apks
./MyApp/data_live_wallpaper_nokia5_relase.apks
- name: debug&relase_AAB
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: debug&relase_AAB
path: |
Expand Down
Loading