comparison .github/workflows/make.yaml @ 31294:a116b0bcb697 stable

GitHub-CI: Update to newer action versions. * .github/workflows/make.yaml (ubuntu, macos, windows): Update cache actions to newer versions. Actions requiring Node.js 12 are deprecated. See: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 13 Oct 2022 11:26:49 +0200
parents 19bd1953fc1d
children f21b233f3274 c94baad7be99
comparison
equal deleted inserted replaced
31290:b8afc6e7d9b4 31294:a116b0bcb697
64 run: | 64 run: |
65 echo "::set-output name=TIMESTAMP::$(date +"%Y-%m-%d_%H-%M-%S")" 65 echo "::set-output name=TIMESTAMP::$(date +"%Y-%m-%d_%H-%M-%S")"
66 66
67 - name: restore ccache 67 - name: restore ccache
68 # setup the github cache used to maintain the ccache from one job to the next 68 # setup the github cache used to maintain the ccache from one job to the next
69 # uses: actions/cache@v2 69 # uses: actions/cache@v3
70 # The original action doesn't upload on error. Use this fork instead. 70 # The original action doesn't upload on error. Use this fork instead.
71 # FIXME: Consider reverting to the original action when it allows uploading on error. 71 # FIXME: Consider reverting to the original action when it allows uploading on error.
72 # See: https://github.com/actions/cache/issues/92 72 # See: https://github.com/actions/cache/issues/92
73 uses: pat-s/always-upload-cache@v2 73 uses: pat-s/always-upload-cache@v3
74 with: 74 with:
75 path: ~/.ccache 75 path: ~/.ccache
76 key: ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ github.ref }}:${{ steps.ccache_cache_timestamp.outputs.timestamp }}:${{ github.sha }} 76 key: ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ github.ref }}:${{ steps.ccache_cache_timestamp.outputs.timestamp }}:${{ github.sha }}
77 restore-keys: | 77 restore-keys: |
78 ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ github.ref }} 78 ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ github.ref }}
207 run: | 207 run: |
208 echo "::set-output name=TIMESTAMP::$(date +"%Y-%m-%d_%H-%M-%S")" 208 echo "::set-output name=TIMESTAMP::$(date +"%Y-%m-%d_%H-%M-%S")"
209 209
210 - name: restore ccache 210 - name: restore ccache
211 # setup the github cache used to maintain the ccache from one job to the next 211 # setup the github cache used to maintain the ccache from one job to the next
212 uses: actions/cache@v2 212 uses: actions/cache@v3
213 with: 213 with:
214 path: /Users/runner/Library/Caches/ccache 214 path: /Users/runner/Library/Caches/ccache
215 key: ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ github.ref }}:${{ steps.ccache_cache_timestamp.outputs.timestamp }}:${{ github.sha }} 215 key: ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ github.ref }}:${{ steps.ccache_cache_timestamp.outputs.timestamp }}:${{ github.sha }}
216 restore-keys: | 216 restore-keys: |
217 ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ github.ref }} 217 ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ github.ref }}
427 run: | 427 run: |
428 echo "::set-output name=TIMESTAMP::$(date +"%Y-%m-%d_%H-%M-%S")" 428 echo "::set-output name=TIMESTAMP::$(date +"%Y-%m-%d_%H-%M-%S")"
429 429
430 - name: restore ccache 430 - name: restore ccache
431 # Setup the github cache used to maintain the ccache from one job to the next 431 # Setup the github cache used to maintain the ccache from one job to the next
432 uses: actions/cache@v2 432 uses: actions/cache@v3
433 with: 433 with:
434 path: C:/msys64/home/runneradmin/.ccache 434 path: C:/msys64/home/runneradmin/.ccache
435 key: ccache:${{ matrix.os }}:${{ matrix.msystem }}:${{ github.ref }}:${{ steps.ccache_cache_timestamp.outputs.timestamp }}:${{ github.sha }} 435 key: ccache:${{ matrix.os }}:${{ matrix.msystem }}:${{ github.ref }}:${{ steps.ccache_cache_timestamp.outputs.timestamp }}:${{ github.sha }}
436 restore-keys: | 436 restore-keys: |
437 ccache:${{ matrix.os }}:${{ matrix.msystem }}:${{ github.ref }} 437 ccache:${{ matrix.os }}:${{ matrix.msystem }}:${{ github.ref }}