File tree 2 files changed +9
-14
lines changed
2 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 42
42
- name : Run tests
43
43
run : cabal test all --enable-tests
44
44
45
- - name : Upload package candidate to hackage
46
- uses : haskell-actions/hackage-publish@v1
47
- with :
48
- hackageToken : ${{ secrets.HACKAGE_AUTH_TOKEN }}
49
- packagesPath : ${{ runner.temp }}/packages
50
- docsPath : ${{ runner.temp }}/docs
51
- publish : false
52
-
53
45
parse-cabal-file :
54
46
runs-on : ubuntu-latest
55
47
steps :
Original file line number Diff line number Diff line change 18
18
- uses : haskell-actions/setup@v2
19
19
with :
20
20
ghc-version : ' 9.2.5'
21
- cabal-version : ' 3.2 '
21
+ cabal-version : ' 3.6.2.0-p1 '
22
22
23
23
- name : Cache
24
24
uses : actions/cache@v3
@@ -39,16 +39,19 @@ jobs:
39
39
- name : Build
40
40
run : cabal build all
41
41
42
- - name : Release
43
- uses : ncipollo/release-action@v1
44
- with :
45
- artifacts : " release.tar.gz"
42
+ # UNTESTED STUFF BELOW HERE
43
+ - name : Run cabal sdist
44
+ run : cabal sdist --output-directory=${{ runner.temp }}/packages
45
+
46
+ # - name: Release
47
+ # uses: ncipollo/release-action@v1
48
+ # with:
49
+ # artifacts: "release.tar.gz"
46
50
47
51
- name : Upload package candidate to hackage
48
52
uses : haskell-actions/hackage-publish@v1
49
53
with :
50
54
hackageToken : ${{ secrets.HACKAGE_AUTH_TOKEN }}
51
55
packagesPath : ${{ runner.temp }}/packages
52
- docsPath : ${{ runner.temp }}/docs
53
56
publish : false
54
57
You can’t perform that action at this time.
0 commit comments