Update readme.md #22
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: Release latest build | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main, ci/**] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: npm i | |
- name: Build and Bundle | |
run: npm run build && npm run bundle | |
- name: Create tar.gz | |
run: tar -zcvf fluid.waveform.tar.gz max-package/ | |
- uses: dev-drprasad/[email protected] | |
with: | |
delete_release: true | |
tag_name: build | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: package and upload | |
uses: softprops/action-gh-release@v1 | |
with: | |
name: Fluid Waveform Build | |
body: "This is a release build of the FluCoMa Max package. The build hash is ${{ github.sha }}" | |
files: fluid.waveform.tar.gz | |
prerelease: false | |
tag_name: build | |
draft: false |