Update release.yml #4
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: Run bundle script | |
run: ../../scripts/bundle_all.sh | |
- 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: ../../bin/Install.app # specify files to include in the release | |
body: ${{ steps.changelog.outputs.body }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |