Skip to content

Commit fb4d56a

Browse files
refactor: simplify artifact creation by removing unnecessary checksum and zip steps
1 parent eb45aa9 commit fb4d56a

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/build_awg_macos.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,11 @@ jobs:
4545
exit 1
4646
fi
4747
48-
- name: 'Generate SHA256 checksum'
49-
working-directory: amneziawg-apple/Sources/WireGuardKitGo/out
50-
run: |
51-
openssl dgst -sha256 -r libwg-go.a | awk '{print $1}' > libwg-go.a.sha256
52-
53-
- name: 'Zip artifact with checksum'
54-
working-directory: amneziawg-apple/Sources/WireGuardKitGo/out
55-
run: |
56-
zip -q -r awg-macos.zip libwg-go.a libwg-go.a.sha256
57-
5848
- name: 'Archive artifacts'
5949
uses: actions/upload-artifact@v4
6050
with:
6151
name: awg-macos
62-
path: amneziawg-apple/Sources/WireGuardKitGo/out/awg-macos.zip
52+
path: amneziawg-apple/Sources/WireGuardKitGo/out/libwg-go.a
6353

6454
github-release:
6555
name: GitHub Release

0 commit comments

Comments
 (0)