Mercurial > octave
changeset 32947:0cbdcdff59c2 stable
GitHub-CI: Update actions to newer versions.
.github/workflows/make.yaml, codeql,yaml: GitHub-hosted runners are
transitioning from Node.js 16 to Node.js 20. Update to the latest versions of
actions to prepare for that change.
See: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Wed, 07 Feb 2024 10:32:54 +0100 |
parents | 96cad3ab9a8c |
children | 477264afba70 ce0977d1f10c |
files | .github/workflows/codeql-analysis.yaml .github/workflows/make.yaml |
diffstat | 2 files changed, 18 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/.github/workflows/codeql-analysis.yaml Tue Feb 06 10:21:58 2024 -0800 +++ b/.github/workflows/codeql-analysis.yaml Wed Feb 07 10:32:54 2024 +0100 @@ -21,7 +21,7 @@ steps: - name: checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: install dependencies run: | @@ -150,7 +150,7 @@ msystem: ${{ matrix.msystem }} - name: checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: bootstrap run: ./bootstrap
--- a/.github/workflows/make.yaml Tue Feb 06 10:21:58 2024 -0800 +++ b/.github/workflows/make.yaml Wed Feb 07 10:32:54 2024 +0100 @@ -51,7 +51,7 @@ steps: - name: checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: install dependencies env: @@ -80,7 +80,7 @@ - name: restore ccache # setup the github cache used to maintain the ccache from one job to the next - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: ~/.ccache key: ${{ steps.ccache-prepare.outputs.key }} @@ -133,7 +133,7 @@ - name: save ccache # Save the cache after we are done (successfully) building - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 with: path: ~/.ccache key: ${{ steps.ccache-prepare.outputs.key }} @@ -197,7 +197,7 @@ cat /proc/cpuinfo - name: checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: install dependencies uses: jirutka/setup-alpine@v1 @@ -281,7 +281,7 @@ - name: restore ccache # setup the github cache used to maintain the ccache from one job to the next - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: # location of the ccache of the chroot in the root file system path: /home/runner/rootfs/alpine-latest-x86/home/runner/.ccache @@ -356,7 +356,7 @@ - name: save ccache # Save the cache after we are done (successfully) building - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 with: path: /home/runner/rootfs/alpine-latest-x86/home/runner/.ccache key: ${{ steps.ccache-prepare.outputs.key }} @@ -447,7 +447,7 @@ steps: - name: checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: install dependencies # This step sometimes takes long and still recovers. But sometimes it @@ -497,7 +497,7 @@ - name: restore ccache # setup the github cache used to maintain the ccache from one job to the next - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 id: restore-ccache with: path: /Users/runner/Library/Caches/ccache @@ -569,7 +569,7 @@ - name: save ccache # Save the cache after we are done (successfully) building - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 with: path: /Users/runner/Library/Caches/ccache key: ${{ steps.ccache-prepare.outputs.key }} @@ -734,7 +734,7 @@ msystem: ${{ matrix.msystem }} - name: checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: prepare ccache # create key with human readable timestamp @@ -747,7 +747,7 @@ - name: restore ccache # Setup the github cache used to maintain the ccache from one job to the next - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: ${{ steps.ccache-prepare.outputs.ccachedir }} key: ${{ steps.ccache-prepare.outputs.key }} @@ -806,7 +806,7 @@ - name: save ccache # Save the cache after we are done (successfully) building - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 with: path: ${{ steps.ccache-prepare.outputs.ccachedir }} key: ${{ steps.ccache-prepare.outputs.key }} @@ -903,10 +903,10 @@ - name: checkout repository # This must be done before installing Cygwin because their git is # incompatible with this action. - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: install Cygwin build environment - uses: cygwin/cygwin-install-action@v2 + uses: cygwin/cygwin-install-action@v4 with: # The packages are listed in (alphabetically sorted) blocks: # The first block is for mandatory dependencies. @@ -989,7 +989,7 @@ - name: restore ccache # Setup a github cache used to maintain the ccache from one run to the next - uses: actions/cache/restore@v3.2.2 + uses: actions/cache/restore@v4 with: path: ${{ steps.ccache-prepare.outputs.ccachedir }} key: ${{ steps.ccache-prepare.outputs.key }} @@ -1056,7 +1056,7 @@ - name: save ccache # Save the cache after we are done (successfully) building - uses: actions/cache/save@v3.2.2 + uses: actions/cache/save@v4 with: path: ${{ steps.ccache-prepare.outputs.ccachedir }} key: ${{ steps.ccache-prepare.outputs.key }}