fix the workflow #7
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: Create Release | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
# Add steps to build/test your project here | |
- name: List bin directory | |
run: ls -al ./bin | |
- name: Run bundle script | |
run: ./scripts/bundle_all.sh | |
- name: Zip ChiliKeys.app | |
run: zip -r Install.app.zip ./bin/Install.app | |
- name: Read Changelog | |
id: changelog | |
run: | | |
echo "##[set-output name=body;]$(cat CHANGELOG.md)" | |
- name: Create Release | |
id: create_release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: ChiliKeys.app.zip | |
body: ${{ steps.changelog.outputs.body }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |