Skip to content

Commit

Permalink
Github CI/CD: Bump action version from v3 to v4.
Browse files Browse the repository at this point in the history
Github upgraded Node.js from version 16 to version 20; Node.js drives
the CI/CD pipelines. Github strongly recommends bumping the actions'
version number from "@V3" to "@v4" and produces copious warning messages
in the CI/CD "Annotations" pane for each submission.
  • Loading branch information
bscottm committed Mar 1, 2024
1 parent c47e933 commit 3413f45
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- besm6 imlac tt2500 microvax3900 microvax1 rtvax1000 vaxstation3100m76 vaxstation4000m60
- scelbi 3b2 i701 i704 i7010 i7070 i7080 i7090 sigma uc15 i650 sel32 intel-mds ibm1130
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install dependencies
if: ${{runner.os == 'macOS'}}
run: sh -ex .travis/deps.sh osx
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/cmake-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sh -ex .travis/deps.sh linux
Expand All @@ -32,7 +32,7 @@ jobs:
cd cmake/build-ninja
cpack -G DEB -C Release
- name: Upload DEB
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: simh-4.1.0-x86_64-${{matrix.os}}.deb
path: cmake/build-ninja/simh-4.1.0-x86_64-${{matrix.os}}.deb
Expand All @@ -45,7 +45,7 @@ jobs:
matrix:
os: [macos-12, macos-11]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
## For some reason, the macos-11 image has symlinks to /Library in /usr/local/bin
- name: Clean /usr/local/bin symlinks
run: |
Expand All @@ -72,12 +72,12 @@ jobs:
cpack -G "ZIP;TGZ" -C Release
cpack -G DragNDrop -C Release
- name: Upload ZIP
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: simh-4.1.0-x86_64.${{matrix.os}}.zip
path: cmake/build-xcode/simh-4.1.0-x86_64.${{matrix.os}}.zip
- name: Upload DMG
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: simh-4.1.0-x86_64.${{matrix.os}}.dmg
path: cmake/build-xcode/simh-4.1.0-x86_64.${{matrix.os}}.dmg
Expand All @@ -97,7 +97,7 @@ jobs:
# matrix:
# os: [macos-12]
# steps:
# - uses: actions/checkout@v3
# - uses: actions/checkout@v4
# - name: Install dependencies
# run: |
# sh -ex .travis/deps.sh osx
Expand All @@ -113,7 +113,7 @@ jobs:
name: VS 2022 XP-compatible LEGACY
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install v141_xp (XP toolkit) and build SIMH
shell: pwsh
run: |
Expand Down Expand Up @@ -167,21 +167,21 @@ jobs:
cd cmake\build-vs2022-xp
cpack -G "ZIP;WIX" -C Release
- name: Upload ZIP
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: simh-4.1.0-win32-vs2022xp.zip
path: cmake/build-vs2022-xp/simh-4.1.0-win32-xp.zip
- name: Upload MSI
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: simh-4.1.0-win32-vs2022xp.zip
name: simh-4.1.0-win32-vs2022xp.msi
path: cmake/build-vs2022-xp/simh-4.1.0-win32-xp.msi

cmake-vs2022:
name: VS 2022 Win10 native VCPKG
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: vs2022 build
shell: pwsh
run: |
Expand Down Expand Up @@ -214,17 +214,17 @@ jobs:
cd cmake\build-vs2022
cpack -G "NSIS;WIX;ZIP" -C Release
- name: Upload ZIP
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: simh-4.1.0-win32-vs2022.zip
path: cmake/build-vs2022/simh-4.1.0-win32-native.zip
- name: Upload EXE installer
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: simh-4.1.0-win32-vs2022.exe
path: cmake/build-vs2022/simh-4.1.0-win32-native.exe
- name: Upload MSI installer
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: simh-4.1.0-win32-vs2022.msi
path: cmake/build-vs2022/simh-4.1.0-win32-native.msi
2 changes: 1 addition & 1 deletion .github/workflows/coverity-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
id: "determine-repo"
run: echo "repo=${GITHUB_REPOSITORY}" >> $GITHUB_OUTPUT

- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Download Coverity Build Tool
run: |
wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=$TOKEN&project=open-simh%2Fsimh" -O cov-analysis-linux64.tar.gz
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
runs-on: ubuntu-22.04
needs: [build]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Make staging directory
run: |
rm -rf work/open-simh/open-simh/staging/
mkdir -p work/open-simh/open-simh/staging/
- name: Download packages
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: ~/work/open-simh/open-simh/staging/
- name: Show it!
Expand Down

0 comments on commit 3413f45

Please sign in to comment.