Skip to content

Commit

Permalink
CI Release
Browse files Browse the repository at this point in the history
  • Loading branch information
Lypsilonx committed May 17, 2024
1 parent 4ca4879 commit e2cdb9f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,9 @@ jobs:
name: Game of Intrigue
path: "*.pdf"

- name: Get current date
id: date
run: echo "DATE=$(date +%Y-%m-%d-%H:%M)" >> $GITHUB_ENV

- name: Release
uses: softprops/action-gh-release@v2
if: github.ref_type == 'tag'
with:
name: "${{ github.ref_name }} — ${{ env.DATE }}"
files: main.pdf
name: "${{ github.ref_name }}"
files: "*.pdf"

0 comments on commit e2cdb9f

Please sign in to comment.