Skip to content

Commit

Permalink
ci: try to use gh instead
Browse files Browse the repository at this point in the history
  • Loading branch information
stevana committed Oct 22, 2024
1 parent 9093579 commit 98d8155
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
path: |
${HOME}/.cache/cabal/packages
${HOME}/.cabal/store
key: ${{ env.key }}-plan-${{ hashFiles('**/plan.json') }}
key: ${{ env.key }}-plan-${{ hashFiles('${{ github.workspace }}/cache/plan.json') }}
restore-keys: ${{ env.key }}-

# ${{ github.workspace }}/dist-newstyle
Expand Down Expand Up @@ -193,17 +193,19 @@ jobs:
id: autotag

- name: Release
uses: softprops/action-gh-release@v2
# if: steps.autotag.outputs.created
with:
body_path: CHANGELOG.md
draft: true
files: |
CHANGELOG.md
LICENSE
"${{ github.workspace }}/bin/spex"
"${{ github.workspace }}/bin/spex-demo-petstore"
run: |
gh release create --draft --notes-file=CHANGELOG.md "${{ github.workspace }}/bin/*"
# uses: softprops/action-gh-release@v2
# # if: steps.autotag.outputs.created
# with:
# body_path: CHANGELOG.md
# draft: true
# files: |
# CHANGELOG.md
# LICENSE
# "${{ github.workspace }}/bin/spex"
# "${{ github.workspace }}/bin/spex-demo-petstore"
#
# - name: Create tarball
# run: cabal sdist
# if: steps.autotag.outputs.created
Expand Down

0 comments on commit 98d8155

Please sign in to comment.