[bootstrap] Change to renamed cerbero repo #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Latest Preview | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
uses: ./.github/workflows/build.yml | |
with: | |
build_type: Debug | |
upload-preview: | |
needs: build | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- 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 | |
- 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 | |
with: | |
name: | | |
minibrowser-Debug | |
mediaplayer-Debug | |
webdriver-Debug | |
- name: Upload Latest Preview Files | |
uses: softprops/action-gh-release@v1 | |
with: | |
name: "Latest Preview" | |
tag_name: latest-preview | |
prerelease: true | |
files: | | |
minibrowser-latest.apk | |
mediaplayer-latest.apk | |
webdriver-latest.apk |