Skip to content

Commit

Permalink
Release name as output
Browse files Browse the repository at this point in the history
  • Loading branch information
Sundin committed Dec 9, 2020
1 parent 555bac9 commit 9e860da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,16 @@ jobs:
id: create_tag
run: |
tag=builds-$(date +%Y%m%d-%H%M%S)
release_name="Release $(date '+%Y-%m-%d %H:%M:%S')"
echo "::set-output name=tag::$tag"
echo "::set-output name=release_name::$release_name"
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
release_name: Release $(date "+%Y-%m-%d %H:%M:%S")
release_name: ${{ steps.create_tag.outputs.release_name }}
tag_name: ${{ steps.create_tag.outputs.tag }}
draft: false
prerelease: false
Expand Down

0 comments on commit 9e860da

Please sign in to comment.