Skip to content

Commit

Permalink
[ci] Upgrade upload-preview job github actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
zhani committed Aug 23, 2024
1 parent 0091c59 commit 18c568d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-latest-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,29 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Update Tag
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
git tag -f latest-preview ${{ github.sha }}
git push -f origin latest-preview
- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- name: Rename APK Files
run: |
mv -f minibrowser-Debug/debug/minibrowser-debug.apk minibrowser-latest.apk
mv -f mediaplayer-Debug/debug/mediaplayer-debug.apk mediaplayer-latest.apk
mv -f webdriver-Debug/debug/webdriver-debug.apk webdriver-latest.apk
- name: Delete Artifacts
uses: geekyeggo/delete-artifact@v2
uses: geekyeggo/delete-artifact@v5
with:
name: |
minibrowser-Debug
mediaplayer-Debug
webdriver-Debug
- name: Upload Latest Preview Files
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
name: "Latest Preview"
tag_name: latest-preview
Expand Down

0 comments on commit 18c568d

Please sign in to comment.