Skip to content

Commit

Permalink
Try another fix for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rmehri01 committed Dec 31, 2020
1 parent dfd7ec0 commit 208fbcf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@ jobs:
key: ${{ runner.os }}-stack

- name: Build project
id: build_project
run: |
stack build --test --copy-bins
stack build --test
export STACK_PATH=$(stack path --local-install-root)
echo ::set-output name=ARTIFACT_PATH::$STACK_PATH/bin/thock
- name: Upload Release Asset
id: upload-release-asset
Expand All @@ -59,6 +61,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.create_release.outputs.upload_url }}
asset_path: $STACK_PATH/bin/thock
asset_path: ${{ steps.build_project.outputs.ARTIFACT_PATH }}
asset_name: thock-${{ runner.os }}
asset_content_type: application/octet-stream

0 comments on commit 208fbcf

Please sign in to comment.