Skip to content

Commit d750f4f

Browse files
fix(release): add pkg-config and explicit write permissions
1 parent 5229df3 commit d750f4f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
release:
1010
name: Build and Release (Apple Silicon Only)
1111
runs-on: macos-14
12+
permissions:
13+
contents: write
1214

1315
steps:
1416
- uses: actions/checkout@v4
@@ -18,8 +20,8 @@ jobs:
1820
with:
1921
go-version: '1.22'
2022

21-
- name: Install libusb
22-
run: brew install libusb
23+
- name: Install dependencies (libusb + pkg-config)
24+
run: brew install libusb pkg-config
2325

2426
- name: Run tests
2527
run: go test -race ./...

0 commit comments

Comments
 (0)