mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-29 19:18:58 -07:00
Upgrade GitHub actions using deprecated Node version (#4371)
* Upgrade Ccache action to v1.2.14 * Upgrade Ccache action to v1.2.14 * Upgrade GitHub checkout action to v4 * Upgrade another cache action
This commit is contained in:
parent
19dc4dc0fa
commit
30029ba6e9
2 changed files with 10 additions and 10 deletions
18
.github/workflows/generate-builds.yml
vendored
18
.github/workflows/generate-builds.yml
vendored
|
@ -9,11 +9,11 @@ jobs:
|
||||||
generate-soh-otr:
|
generate-soh-otr:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2.11
|
uses: hendrikmuhs/ccache-action@v1.2.14
|
||||||
with:
|
with:
|
||||||
key: ${{ runner.os }}-otr-ccache-${{ github.ref }}-${{ github.sha }}
|
key: ${{ runner.os }}-otr-ccache-${{ github.ref }}-${{ github.sha }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
|
@ -73,11 +73,11 @@ jobs:
|
||||||
needs: generate-soh-otr
|
needs: generate-soh-otr
|
||||||
runs-on: macos-14
|
runs-on: macos-14
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2.13
|
uses: hendrikmuhs/ccache-action@v1.2.14
|
||||||
with:
|
with:
|
||||||
create-symlink: true
|
create-symlink: true
|
||||||
key: ${{ runner.os }}-14-ccache-${{ github.ref }}-${{ github.sha }}
|
key: ${{ runner.os }}-14-ccache-${{ github.ref }}-${{ github.sha }}
|
||||||
|
@ -91,7 +91,7 @@ jobs:
|
||||||
sudo chmod +x /opt/homebrew/bin/gtar
|
sudo chmod +x /opt/homebrew/bin/gtar
|
||||||
- name: Cache MacPorts
|
- name: Cache MacPorts
|
||||||
id: cache-macports
|
id: cache-macports
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: /opt/local/
|
path: /opt/local/
|
||||||
key: ${{ runner.os }}-14-macports-${{ hashFiles('.github/workflows/macports-deps.txt') }}
|
key: ${{ runner.os }}-14-macports-${{ hashFiles('.github/workflows/macports-deps.txt') }}
|
||||||
|
@ -135,7 +135,7 @@ jobs:
|
||||||
needs: generate-soh-otr
|
needs: generate-soh-otr
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
@ -143,7 +143,7 @@ jobs:
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y $(cat .github/workflows/apt-deps.txt)
|
sudo apt-get install -y $(cat .github/workflows/apt-deps.txt)
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2.11
|
uses: hendrikmuhs/ccache-action@v1.2.14
|
||||||
with:
|
with:
|
||||||
key: linux-ccache-${{ github.ref }}-${{ github.sha }}
|
key: linux-ccache-${{ github.ref }}-${{ github.sha }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
|
@ -229,11 +229,11 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
choco install ninja
|
choco install ninja
|
||||||
Remove-Item -Path "C:\ProgramData\Chocolatey\bin\ccache.exe" -Force -ErrorAction SilentlyContinue
|
Remove-Item -Path "C:\ProgramData\Chocolatey\bin\ccache.exe" -Force -ErrorAction SilentlyContinue
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2.11
|
uses: hendrikmuhs/ccache-action@v1.2.14
|
||||||
with:
|
with:
|
||||||
variant: sccache
|
variant: sccache
|
||||||
max-size: "1G"
|
max-size: "1G"
|
||||||
|
|
2
.github/workflows/test-builds-on-distros.yml
vendored
2
.github/workflows/test-builds-on-distros.yml
vendored
|
@ -59,7 +59,7 @@ jobs:
|
||||||
cmake ..
|
cmake ..
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Build SoH
|
- name: Build SoH
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue