Migrating to shell based build and removing ANT build #13
Workflow file for this run
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: PR to main branch zip generate | |
on: | |
pull_request: | |
branches: [ "main", "development" ] | |
paths: | |
- 'base/**' | |
- 'src/**' | |
- 'build.xml' | |
jobs: | |
pr-generate-zips: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- 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@v3 | |
name: Uploading generated zip files | |
with: | |
name: pr-zips-${{ env.date-time-env }} | |
path: generated/*.zip |