1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-04-25 03:55:16 +00:00

Update github actions to latest versions to account for deprecation of node 20.

This commit is contained in:
Frank Halasz
2026-03-14 19:37:40 -07:00
parent 25654fa090
commit 07e009cf08
3 changed files with 24 additions and 24 deletions

View File

@@ -13,7 +13,7 @@ jobs:
matrix: matrix:
os: [macos-11, macos-12, ubuntu-22.04, ubuntu-20.04] os: [macos-11, macos-12, ubuntu-22.04, ubuntu-20.04]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v6
- name: Install X11 dependencies on MacOS - name: Install X11 dependencies on MacOS
if: ${{ runner.os == 'macOS'}} if: ${{ runner.os == 'macOS'}}
run: brew install --cask xquartz run: brew install --cask xquartz
@@ -28,7 +28,7 @@ jobs:
# runs-on: [self-hosted, linux, ARM] # runs-on: [self-hosted, linux, ARM]
# if: ${{ github.repository == 'Interlisp/maiko' }} # if: ${{ github.repository == 'Interlisp/maiko' }}
# steps: # steps:
# - uses: actions/checkout@v3 # - uses: actions/checkout@v6
# - name: Build # - name: Build
# working-directory: bin # working-directory: bin
# run: ./makeright x # run: ./makeright x
@@ -41,7 +41,7 @@ jobs:
env: env:
BUILD_TYPE: Release BUILD_TYPE: Release
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v6
- name: Show CMake version - name: Show CMake version
run: cmake --version run: cmake --version
- name: Install X11 dependencies on MacOS - name: Install X11 dependencies on MacOS

View File

@@ -34,7 +34,7 @@ jobs:
steps: steps:
# Checkout maiko # Checkout maiko
- name: Checkout maiko - name: Checkout maiko
uses: actions/checkout@v3 uses: actions/checkout@v6
# Setup docker environment variables # Setup docker environment variables
- name: Setup Docker Environment Variables - name: Setup Docker Environment Variables
@@ -49,14 +49,14 @@ jobs:
# Setup the Docker Machine Emulation environment. # Setup the Docker Machine Emulation environment.
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@master uses: docker/setup-qemu-action@v4
with: with:
platforms: linux/amd64,linux/arm64,linux/arm/v7 platforms: linux/amd64,linux/arm64,linux/arm/v7
# Setup the Docker Buildx funtion # Setup the Docker Buildx funtion
- name: Set up Docker Buildx - name: Set up Docker Buildx
id: buildx id: buildx
uses: docker/setup-buildx-action@master uses: docker/setup-buildx-action@v4
# Login to ghcr.io # Login to ghcr.io
- name: Login to GitHub Container Registry - name: Login to GitHub Container Registry
@@ -71,7 +71,7 @@ jobs:
# #
- name: Build Docker Images for Push to GHCR - name: Build Docker Images for Push to GHCR
if: ${{ true }} if: ${{ true }}
uses: docker/build-push-action@v4 uses: docker/build-push-action@v7
with: with:
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
build-args: | build-args: |

View File

@@ -123,7 +123,7 @@ jobs:
steps: steps:
# Checkout the actions for this repo owner # Checkout the actions for this repo owner
- name: Checkout Actions - name: Checkout Actions
uses: actions/checkout@v4 uses: actions/checkout@v6
with: with:
repository: ${{ github.repository_owner }}/.github repository: ${{ github.repository_owner }}/.github
path: ./Actions_${{ github.sha }} path: ./Actions_${{ github.sha }}
@@ -157,7 +157,7 @@ jobs:
steps: steps:
# Checkout the actions for this repo owner # Checkout the actions for this repo owner
- name: Checkout Actions - name: Checkout Actions
uses: actions/checkout@v4 uses: actions/checkout@v6
with: with:
repository: ${{ github.repository_owner }}/.github repository: ${{ github.repository_owner }}/.github
path: ./Actions_${{ github.sha }} path: ./Actions_${{ github.sha }}
@@ -165,7 +165,7 @@ jobs:
# Checkout the branch # Checkout the branch
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v6
# Setup release tag # Setup release tag
- name: Setup Release Tag - name: Setup Release Tag
@@ -185,14 +185,14 @@ jobs:
# Setup the Docker Machine Emulation environment. # Setup the Docker Machine Emulation environment.
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v4
with: with:
platforms: linux/amd64,linux/arm64,linux/arm/v7 platforms: linux/amd64,linux/arm64,linux/arm/v7
# Setup the Docker Buildx funtion # Setup the Docker Buildx funtion
- name: Set up Docker Buildx - name: Set up Docker Buildx
id: buildx id: buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v4
# Do the Docker Build using the Dockerfile in the repository we # Do the Docker Build using the Dockerfile in the repository we
# checked out. Save the results in a directory under /tmp to be used # checked out. Save the results in a directory under /tmp to be used
@@ -204,7 +204,7 @@ jobs:
# Dockerfile, NOT HERE IN THE WORKFLOW. # Dockerfile, NOT HERE IN THE WORKFLOW.
# #
- name: Build Docker Image and Save It Locally - name: Build Docker Image and Save It Locally
uses: docker/build-push-action@v4 uses: docker/build-push-action@v7
with: with:
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
build-args: | build-args: |
@@ -246,7 +246,7 @@ jobs:
# Push Release to github # Push Release to github
- name: Push the release - name: Push the release
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1.21.0
with: with:
allowUpdates: true allowUpdates: true
artifacts: artifacts:
@@ -280,11 +280,11 @@ jobs:
# Checkout the branch # Checkout the branch
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v6
# Checkout the actions for this repo owner # Checkout the actions for this repo owner
- name: Checkout Actions - name: Checkout Actions
uses: actions/checkout@v4 uses: actions/checkout@v6
with: with:
repository: ${{ github.repository_owner }}/.github repository: ${{ github.repository_owner }}/.github
path: ./Actions_${{ github.sha }} path: ./Actions_${{ github.sha }}
@@ -376,7 +376,7 @@ jobs:
# Push Release # Push Release
- name: Push the release - name: Push the release
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1.21.0
with: with:
allowUpdates: true allowUpdates: true
artifacts: artifacts:
@@ -434,13 +434,13 @@ jobs:
# Checkout the branch # Checkout the branch
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v6
with: with:
path: cygwin\maiko path: cygwin\maiko
# Checkout the actions for this repo owner # Checkout the actions for this repo owner
- name: Checkout Actions - name: Checkout Actions
uses: actions/checkout@v4 uses: actions/checkout@v6
with: with:
repository: ${{ github.repository_owner }}/.github repository: ${{ github.repository_owner }}/.github
path: ./Actions_${{ github.sha }} path: ./Actions_${{ github.sha }}
@@ -470,7 +470,7 @@ jobs:
# Push Release to github # Push Release to github
- name: Push the release - name: Push the release
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1.21.0
with: with:
allowUpdates: true allowUpdates: true
artifacts: artifacts:
@@ -501,7 +501,7 @@ jobs:
# Checkout the actions for this repo owner # Checkout the actions for this repo owner
- name: Checkout Actions - name: Checkout Actions
uses: actions/checkout@v4 uses: actions/checkout@v6
with: with:
repository: ${{ github.repository_owner }}/.github repository: ${{ github.repository_owner }}/.github
path: ./Actions_${{ github.sha }} path: ./Actions_${{ github.sha }}
@@ -530,7 +530,7 @@ jobs:
# Checkout the maiko branch # Checkout the maiko branch
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v6
# Setup release tag # Setup release tag
- name: Setup Release Tag - name: Setup Release Tag
@@ -547,7 +547,7 @@ jobs:
# Push Release to github # Push Release to github
- name: Push the release - name: Push the release
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1.21.0
with: with:
allowUpdates: true allowUpdates: true
artifacts: ${{ steps.tag.outputs.release_tag }}-emscripten.tgz artifacts: ${{ steps.tag.outputs.release_tag }}-emscripten.tgz
@@ -573,7 +573,7 @@ jobs:
steps: steps:
# Checkout the actions for this repo owner # Checkout the actions for this repo owner
- name: Checkout Actions - name: Checkout Actions
uses: actions/checkout@v4 uses: actions/checkout@v6
with: with:
repository: ${{ github.repository_owner }}/.github repository: ${{ github.repository_owner }}/.github
path: ./Actions_${{ github.sha }} path: ./Actions_${{ github.sha }}