Skip to content

Commit

Permalink
CI: Upgrade to macOS 13 (Intel), limit permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Oct 14, 2024
1 parent f26590a commit db9fdba
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: Build Release
on: [ push, pull_request ]
on:
- push
- pull_request
permissions: {}
jobs:
create-release:
runs-on: 'ubuntu-22.04'
permissions:
contents: write
runs-on: 'ubuntu-24.04'
outputs:
upload_url: ${{ steps.create-release.outputs.upload_url }}
steps:
Expand All @@ -15,12 +20,15 @@ jobs:
prerelease: true
token: ${{ secrets.GITHUB_TOKEN }}
build:
permissions:
contents: write
runs-on: ${{ matrix.os }}
needs: create-release
strategy:
fail-fast: false
matrix:
os: [ ubuntu-22.04 ]
os:
- 'ubuntu-24.04'
platform:
- 'linux-x64'
- 'linux-armv6'
Expand All @@ -33,9 +41,9 @@ jobs:
- 'win32-x64'
- 'win32-arm64v8'
include:
- os: macos-12
- os: macos-13
platform: 'darwin-x64'
- os: macos-12
- os: macos-13
platform: 'darwin-arm64v8'
steps:
- name: Checkout
Expand Down

0 comments on commit db9fdba

Please sign in to comment.