Skip to content
This repository was archived by the owner on Oct 20, 2021. It is now read-only.

Commit 87df45b

Browse files
nilp0interpanchoh
andcommitted
fix: instruct stack to install the resulting binary in the current directory
Co-authored-by: pancho horrillo <[email protected]>
1 parent b4bd2a3 commit 87df45b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/haskell.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,20 @@ jobs:
3333
${{ runner.os }}-build-
3434
${{ runner.os }}-
3535
36-
3736
- name: Build
3837
run: stack build
3938

4039
- name: Run tests
4140
run: stack test
4241

4342
- name: Install ust2dsa
44-
run: stack install
43+
run: stack install --local-bin-path .
4544

4645
- name: Upload executable as an artifact
4746
uses: actions/upload-artifact@v2
4847
with:
4948
name: ust2dsa
50-
path: ~/.local/bin/ust2dsa
49+
path: ./ust2dsa
5150

5251
- name: Create Release
5352
id: create_stable_release
@@ -58,7 +57,7 @@ jobs:
5857
with:
5958
tag_name: ${{ github.ref }}
6059
release_name: ${{ github.ref }}
61-
draft: false
60+
draft: true
6261
prerelease: false
6362

6463
- name: Upload Stable Release Artifact
@@ -69,6 +68,6 @@ jobs:
6968
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7069
with:
7170
upload_url: ${{ steps.create_stable_release.outputs.upload_url }}
72-
asset_path: /home/runner/.local/bin/ust2dsa
71+
asset_path: ./ust2dsa
7372
asset_name: ust2dsa
7473
asset_content_type: application/x-executable

0 commit comments

Comments
 (0)