Skip to content

Instantly share code, notes, and snippets.

@josiahhaswell
Created June 16, 2020 18:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josiahhaswell/dce6e67b00e5a8d1fc9aa3976299da9c to your computer and use it in GitHub Desktop.
Save josiahhaswell/dce6e67b00e5a8d1fc9aa3976299da9c to your computer and use it in GitHub Desktop.
- uses: actions/upload-artifact@v2
with:
name: zephyr-main
path: zephyr-main/build/distributions/*.zip
- name: get commit message
run: echo ::set-env name=commitmsg::$(git log --format=%B -n 1 ${{ github.event.after }})
- name: Perform Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Changes in this Release:
${{ env.commitmsg }}
draft: false
prerelease: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment