File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 3232 - name : Build librdkafka
3333 run : ./scripts/build-librdkafka
3434
35- - uses : haskell/ actions/setup@v1
35+ - uses : haskell- actions/setup@v2
3636 id : setup-haskell
3737 with :
3838 ghc-version : ${{ matrix.ghc }}
@@ -45,10 +45,15 @@ jobs:
4545 - name : Configure project
4646 run : cabal configure --enable-tests --enable-benchmarks --write-ghc-environment-files=ghc8.4.4+
4747
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@v2
5050 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 }}-
5257
5358 - name : Build
5459 # Try building it twice in case of flakey builds on Windows
98103 if git push origin "v$package_version"; then
99104 echo "Tagged with new version "v$package_version""
100105
101- echo "::set-output name=tag::v$package_version"
106+ echo "tag=v$package_version" >> $GITHUB_OUTPUT
107+
102108 fi
103109 fi
104110
You can’t perform that action at this time.
0 commit comments