Skip to content

Commit

Permalink
chore: update macos-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
asabya committed Sep 3, 2024
1 parent 13c3b28 commit a7eb990
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
mkdir frontend/dist
touch frontend/dist/index.html
- name: Lint
if: matrix.os == 'macos-11'
if: matrix.os == 'macos-latest'
run:
make lint
- name: Test
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ jobs:
deploy: true

- job_name: mac_amd64
os: macos-11
os: macos-latest
go: '1.22'
build_flags: '-include "^darwin/amd64" -cgo'
quicktest: true
racequicktest: true
deploy: true

- job_name: mac_arm64
os: macos-11
os: macos-latest
go: '1.22'
build_flags: '-include "^darwin/arm64" -cgo -macos-arch arm64 -cgo-cflags=-I/usr/local/include -cgo-ldflags=-L/usr/local/lib'
deploy: true
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
run: |
brew update
brew install --cask macfuse
if: matrix.os == 'macos-11'
if: matrix.os == 'macos-latest'

- name: Install Libraries on Windows
shell: powershell
Expand Down Expand Up @@ -145,11 +145,11 @@ jobs:
name: linux
path: build/bin/*
- uses: actions/setup-node@v3
if: matrix.os == 'macos-11'
if: matrix.os == 'macos-latest'
with:
node-version: 18
- shell: bash
if: matrix.os == 'macos-11'
if: matrix.os == 'macos-latest'
run: |
chmod +x scripts/add-cert.sh && ./scripts/add-cert.sh
npm install --global create-dmg
Expand All @@ -162,7 +162,7 @@ jobs:
CERTIFICATE_PASSWORD: ${{ secrets.CERTIFICATE_PASSWORD }}

- uses: actions/upload-artifact@v3
if: matrix.os == 'macos-11'
if: matrix.os == 'macos-latest'
with:
name: ${{ matrix.job_name }}
path: build/bin/*
Expand Down

0 comments on commit a7eb990

Please sign in to comment.