Skip to content

Commit

Permalink
Fix release job
Browse files Browse the repository at this point in the history
  • Loading branch information
newhoggy committed Jan 25, 2025
1 parent 22139ec commit 2f63571
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ jobs:
env:
server: http://hackage.haskell.org
username: ${{ secrets.HACKAGE_USER }}
password: ${{ secrets.HACKAGE_PASS }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
# password: ${{ secrets.HACKAGE_PASS }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
package_version="$(cat *.cabal | grep '^version:' | cut -d : -f 2 | xargs)"
Expand Down Expand Up @@ -222,11 +222,15 @@ jobs:
fi
done
- name: Debug
run: |
echo "tag=${{ needs.check.outputs.tag }}"
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ needs.check.outputs.tag }}
release_name: Release ${{ needs.check.outputs.tag }}
Expand Down

0 comments on commit 2f63571

Please sign in to comment.