Skip to content

Generate Browser Zip Files #1

Generate Browser Zip Files

Generate Browser Zip Files #1

# 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