Skip to content

Commit

Permalink
Update upload-and-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyber-Finn authored Jul 3, 2024
1 parent be7c2c8 commit 037a763
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/upload-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ jobs:
#run: echo "::set-output name=commit_message::$(git log -1 --pretty=format:'%s%n%n%b')"
run: echo "commit_message=$(git log -1 --pretty=format:'%s%n%n%b')" >> $GITHUB_ENV

- name: Set environment token variable
run: echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV


- name: Create Release
id: create_release
Expand All @@ -41,6 +38,8 @@ jobs:
#body: ${{ github.event.pull_request.title }} # Use the pull request title only as the release info
#body: ${{ steps.get_commit_message.outputs.commit_message }}
body: ${{ env.commit_message }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Download artifact
uses: actions/download-artifact@v2
Expand All @@ -55,3 +54,5 @@ jobs:
asset_path: ./downloaded-artifact/*
asset_name: automated-windsong-lyre.zip
asset_content_type: application/zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 037a763

Please sign in to comment.