Skip to content

Commit 94de42d

Browse files
committed
Adjust CI for releases
1 parent 369b30d commit 94de42d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
arch: amd64
4242

4343
runs-on: ubuntu-latest
44+
permissions:
45+
contents: write
4446
steps:
4547
- name: Checkout
4648
uses: actions/checkout@v4
@@ -63,6 +65,10 @@ jobs:
6365
- name: Build
6466
run: make
6567

68+
- name: Strip
69+
if: ${{ github.event_name == 'release' }}
70+
run: strip ${{ env.BIN }}
71+
6672
- name: Upload artifacts
6773
uses: actions/upload-artifact@v4
6874
with:

0 commit comments

Comments
 (0)