Generate Browser Zip Files #1
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
# This is a basic workflow that is manually triggered | |
name: Generate Browser Zip Files | |
# Controls when the action will run. Workflow runs when manually triggered using the UI | |
# or API. | |
on: | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
generate-zips: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build with build.sh | |
run: ./build.sh | |
- name: Setting date and time in env variable | |
run: echo "date-time-env=$(date '+%Y%m%d-%H%M%S')" >> $GITHUB_ENV | |
- uses: actions/upload-artifact@v4 | |
name: Uploading generated zip files | |
with: | |
name: zips-${{ github.ref_name }}-${{ env.date-time-env }} | |
path: generated/*.zip |