16.0.0-rc.4 #18
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: GH_RELEASE | |
on: | |
push: | |
tags: | |
- "*.*.*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install [email protected] | |
if: startsWith(github.ref, 'refs/tags/') | |
run: npm install [email protected] | |
- name: Generate Changelog-current | |
run: npm run changelog-current | grep -v "^>" | sed '/^$/d' > ${{ github.workspace }}-CHANGELOG.txt | |
- name: Post intstall | |
run: npm run postinstall | |
- name: Build production | |
run: npm run build.prod | |
- name: Install zip | |
uses: montudor/action-zip@v1 | |
- name: Zip output | |
run: zip -qq -r igo2.zip * | |
working-directory: dist/igo2 | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
body_path: ${{ github.workspace }}-CHANGELOG.txt | |
files: dist/igo2/igo2.zip |