Bump artifact actions to v4

v4 included breaking changes, but the setup here was compatible
thanks to the usage of `${{ github.job }}`.
https://github.com/actions/upload-artifact/releases/tag/v4.0.0

v3 artifact actions will be deprecated on November 30th
https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

node16 actions will be EOL on October 15th
https://github.blog/changelog/2024-09-25-end-of-life-for-actions-node16/

These seem contradictory but I _guess_ on self-hosted runners one
can keep using v3 artifact actions until November 30th.
This commit is contained in:
anttiharju
2024-10-13 15:29:45 +03:00
parent 8d354bb3f0
commit 7dcccf1105

View File

@@ -81,7 +81,7 @@ jobs:
# make apk Flavor=Net # make apk Flavor=Net
# - name: Archive production artifacts (net) # - name: Archive production artifacts (net)
# uses: actions/upload-artifact@v3 # uses: actions/upload-artifact@v4
# with: # with:
# name: signed APK ('net' built on ${{ github.job }}) # name: signed APK ('net' built on ${{ github.job }})
# path: | # path: |
@@ -99,7 +99,7 @@ jobs:
# make apk Flavor=NoNet # make apk Flavor=NoNet
# - name: Archive production artifacts (nonet) # - name: Archive production artifacts (nonet)
# uses: actions/upload-artifact@v3 # uses: actions/upload-artifact@v4
# with: # with:
# name: signed APK ('nonet' built on ${{ github.job }}) # name: signed APK ('nonet' built on ${{ github.job }})
# path: | # path: |
@@ -215,7 +215,7 @@ jobs:
# make apk Flavor=Net # make apk Flavor=Net
# - name: Archive production artifacts (net) # - name: Archive production artifacts (net)
# uses: actions/upload-artifact@v3 # uses: actions/upload-artifact@v4
# with: # with:
# name: signed APK ('net' built on ${{ github.job }}) # name: signed APK ('net' built on ${{ github.job }})
# path: | # path: |
@@ -233,7 +233,7 @@ jobs:
# make apk Flavor=NoNet # make apk Flavor=NoNet
# - name: Archive production artifacts (nonet) # - name: Archive production artifacts (nonet)
# uses: actions/upload-artifact@v3 # uses: actions/upload-artifact@v4
# with: # with:
# name: signed APK ('nonet' built on ${{ github.job }}) # name: signed APK ('nonet' built on ${{ github.job }})
# path: | # path: |
@@ -317,7 +317,7 @@ jobs:
make apk Flavor=Net make apk Flavor=Net
- name: Archive production artifacts (net) - name: Archive production artifacts (net)
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: signed APK ('net' built on ${{ github.job }}) name: signed APK ('net' built on ${{ github.job }})
path: | path: |
@@ -338,7 +338,7 @@ jobs:
make apk Flavor=NoNet make apk Flavor=NoNet
- name: Archive production artifacts (nonet) - name: Archive production artifacts (nonet)
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: signed APK ('nonet' built on ${{ github.job }}) name: signed APK ('nonet' built on ${{ github.job }})
path: | path: |