Skip to content

Commit

Permalink
chore(deps): Handle recent GitHub Actions deprecations (#21528)
Browse files Browse the repository at this point in the history
* chore(deps): Handle recent GitHub Actions deprecations

Ref: https://github.blog/changelog/2024-08-19-notice-of-upcoming-deprecations-and-breaking-changes-in-github-actions-runners/

As part of this, I changed the MacOS package verification to test on all available runner versions.

Signed-off-by: Jesse Szwedko <[email protected]>

* macos-13 fails with

```
/Users/runner/work/_temp/76b64f87-2009-42f1-a94b-9416bb00e145.sh: line 1:
vector-x86_64-apple-darwin/bin/vector: Bad CPU type in executable
```

I spent some time trying to debug this but decided to punt on it for now.

Signed-off-by: Jesse Szwedko <[email protected]>

---------

Signed-off-by: Jesse Szwedko <[email protected]>
  • Loading branch information
jszwedko authored Oct 18, 2024
1 parent f2d5ea4 commit 624fa1a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ jobs:

build-x86_64-apple-darwin-packages:
name: Build Vector for x86_64-apple-darwin (.tar.gz)
runs-on: macos-latest-xl
runs-on: macos-latest-xlarge
timeout-minutes: 90
needs: generate-publish-metadata
env:
Expand Down Expand Up @@ -448,13 +448,16 @@ jobs:
macos-verify:
name: Verify macOS Package
runs-on: macos-12
runs-on: ${{ matrix.runner }}
timeout-minutes: 5
needs:
- generate-publish-metadata
- build-x86_64-apple-darwin-packages
env:
VECTOR_VERSION: ${{ needs.generate-publish-metadata.outputs.vector_version }}
strategy:
matrix:
runner: [macos-14, macos-15]
steps:
- name: Checkout Vector
uses: actions/checkout@v3
Expand Down

0 comments on commit 624fa1a

Please sign in to comment.