Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
netquick authored Jul 15, 2024
1 parent 3f74c55 commit 850f864
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,20 @@ jobs:
path: ./publish/**

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: release-${{ github.run_id }}-${{ github.run_attempt }}-${{ github.run_number }}-${{ github.event_name }}-${{ github.sha }}
release_name: Release ${{ github.run_id }}-${{ github.run_attempt }}-${{ github.run_number }}-${{ github.event_name }}-${{ github.sha }}
tag_name: release-${{ steps.current_date.outputs.date }}
release_name: Release ${{ steps.current_date.outputs.date }}
draft: false
prerelease: false

- name: Get Current Date
id: current_date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
shell: bash

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit 850f864

Please sign in to comment.