File tree 1 file changed +11
-5
lines changed
1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 32
32
- name : Build librdkafka
33
33
run : ./scripts/build-librdkafka
34
34
35
- - uses : haskell/ actions/setup@v1
35
+ - uses : haskell- actions/setup@v2
36
36
id : setup-haskell
37
37
with :
38
38
ghc-version : ${{ matrix.ghc }}
@@ -45,10 +45,15 @@ jobs:
45
45
- name : Configure project
46
46
run : cabal configure --enable-tests --enable-benchmarks --write-ghc-environment-files=ghc8.4.4+
47
47
48
- - uses : action-works/ cabal-cache@v1
49
- name : Cache cabal store
48
+ - name : Cache ~/. cabal/packages, ~/.cabal/store and dist-newstyle
49
+ uses : actions/cache@v4
50
50
with :
51
- key-prefix : CwBTpnRd
51
+ path : |
52
+ ~/.cabal/packages
53
+ ~/.cabal/store
54
+ dist-newstyle
55
+ key : ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('**/*.cabal', '**/cabal.project', '**/cabal.project.freeze') }}
56
+ restore-keys : ${{ runner.os }}-${{ matrix.ghc }}-
52
57
53
58
- name : Build
54
59
# Try building it twice in case of flakey builds on Windows
98
103
if git push origin "v$package_version"; then
99
104
echo "Tagged with new version "v$package_version""
100
105
101
- echo "::set-output name=tag::v$package_version"
106
+ echo "tag=v$package_version" >> $GITHUB_OUTPUT
107
+
102
108
fi
103
109
fi
104
110
You can’t perform that action at this time.
0 commit comments