using the content hash as the execute file name (#12) #2
Workflow file for this run
This file contains hidden or 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: Release | |
| on: | |
| push: | |
| tags: | |
| - v[0-9]+.* | |
| jobs: | |
| build_zips: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Build zip files | |
| run: | | |
| make gcf | |
| make lambda | |
| mkdir artifacts | |
| cp google-cloud-functions/gcf-executor.zip artifacts/gcf-executor.zip | |
| cp lambda/lambda-executor.zip artifacts/lambda-executor.zip | |
| - name: Create checksums | |
| working-directory: artifacts | |
| run: sha256sum * > checksums.txt && cat checksums.txt | |
| - name: Release | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| files: | | |
| artifacts/** |