Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sifferman committed Sep 6, 2023
1 parent abea670 commit 1ff9f55
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
TAG_NAME: $(date +%Y_%m_%d_%H_%M)
permissions:
contents: write
steps:
Expand All @@ -22,12 +24,16 @@ jobs:
- name: Test
run: |
echo ${{ github.sha }}
echo $(date +%Y_%m_%d_%H_%M)
echo $TAG_NAME
- name: Create Tag
run: |
git tag $TAG_NAME
git push origin $TAG_NAME
- uses: ncipollo/release-action@v1
with:
allowUpdates: True
omitBody: True
commit: ${{ github.sha }}
tag: $(date +%Y_%m_%d_%H_%M)
tag: $TAG_NAME
artifacts: "Makefile"
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1ff9f55

Please sign in to comment.