Skip to content

Commit

Permalink
Merge pull request #51 from PikachuEXE/update/action-os
Browse files Browse the repository at this point in the history
^ Update os references in action configs
  • Loading branch information
PikachuEXE authored Dec 15, 2024
2 parents 0e970a8 + 520371d commit 375a2be
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ env:
jobs:
workflow_syntax:
if: github.repository_owner == 'PikachuEXE'
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
container:
image: ghcr.io/homebrew/ubuntu22.04:master
# https://github.com/Homebrew/brew/pkgs/container/ubuntu24.04
image: ghcr.io/homebrew/ubuntu24.04:latest
steps:
- name: Set up Homebrew
id: setup-homebrew
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
pr-pull:
if: contains(github.event.pull_request.labels.*.name, 'pr-pull')
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
permissions:
contents: write
packages: none
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-manual-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ on:
tag_name:
description: 'Tag name of the upstream release'
required: true
default: 'v0.21.0-beta'
default: 'v0.23.0-beta'
node_version:
description: 'Node.js version to use'
required: true
default: '20.x'
default: '22.x'

jobs:
manual-build:
# Use macos-14 for arm64 architecture: https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/
# macos-latest refers to the macos-12 (x86_64) runner image until April–June 2024: https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/ and https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
runs-on: macos-14
# macos-latest refers to macOS Arm64
# https://github.com/actions/runner-images
runs-on: macos-latest
outputs:
extracted-package-version: "${{ steps.extract-version.outputs.package_version }}"

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ jobs:
test-bot:
strategy:
matrix:
os: [ubuntu-22.04, macos-14]
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Set up Homebrew
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-actionlint-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:

jobs:
update-workflow:
runs-on: macos-14
runs-on: macos-latest

steps:
- name: Checkout Repository
Expand Down

0 comments on commit 375a2be

Please sign in to comment.