Skip to content

Commit

Permalink
- new_release
Browse files Browse the repository at this point in the history
- updated check_acpype.yml
  • Loading branch information
alanwilter committed Oct 24, 2023
1 parent e9c1b70 commit b0e3636
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/check_acpype.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y.%-m.%-d')"
run: echo "name=date::$(date +'%Y.%-m.%-d')" >> $GITHUB_OUTPUT

- name: Create tag
# will only create a new release if the commit message is 'new_release' to master branch
Expand All @@ -116,12 +116,9 @@ jobs:
# will only create a new release if the commit message is 'new_release' to master branch
if: github.ref == 'refs/heads/master' && contains(github.event.head_commit.message, 'new_release')
id: create_release
uses: actions/create-release@v1
uses: elgohr/Github-Release-Action@v5
env:
# This token is provided by Actions, you do not need to create your own token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.date.outputs.date }}
release_name: Release ${{ steps.date.outputs.date }}
draft: false
prerelease: false
title: ${{ steps.date.outputs.date }}

0 comments on commit b0e3636

Please sign in to comment.