Commit 504db21 1 parent d4bbd3d commit 504db21 Copy full SHA for 504db21
File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -13,24 +13,22 @@ jobs:
13
13
steps :
14
14
-
15
15
uses : actions/checkout@v3
16
- with :
17
- ref : main
18
16
-
19
17
uses : actions/download-artifact@v3
20
18
with :
21
19
name : persistent-mtl-sdist
22
20
path : ./sdist/
23
21
-
24
- uses : brandonchinn178/haskell-actions/parse-cabal-file@parse-cabal-file
25
22
id : cabal_file
23
+ uses : haskell-actions/parse-cabal-file@v1
26
24
with :
27
25
cabal_file : persistent-mtl.cabal
28
26
-
29
27
name : Set version label
30
28
run : echo 'VERSION=v${{ steps.cabal_file.outputs.version }}' >> "${GITHUB_ENV}"
31
29
-
32
- name : Load Hackage token secret name
33
30
id : hackage_token_secret
31
+ name : Load Hackage token secret name
34
32
run : |
35
33
USERNAME="$(echo "${GITHUB_ACTOR}" | tr '[:lower:]' '[:upper:]' | tr '-' '_')"
36
34
echo "name=HACKAGE_TOKEN_${USERNAME}" >> "${GITHUB_OUTPUT}"
@@ -44,10 +42,10 @@ jobs:
44
42
fi
45
43
sed '1 d; /^# v/,$ d' /tmp/changelog-without-unreleased > /tmp/changelog-body
46
44
-
47
- uses : brandonchinn178/ haskell-actions/hackage-upload@hackage-upload
45
+ uses : haskell-actions/hackage-publish@v1
48
46
with :
49
- archive : sdist/persistent-mtl-*.tar.gz
50
- token : ${{ secrets[steps.hackage_token_secret.outputs.name] }}
47
+ hackageToken : ${{ secrets[steps.hackage_token_secret.outputs.name] }}
48
+ packagesPath : ./sdist/
51
49
-
52
50
uses : softprops/action-gh-release@v1
53
51
with :
You can’t perform that action at this time.
0 commit comments