Skip to content

Commit fb3aa17

Browse files
MacbookMacbook
authored andcommitted
add checksums [openvpnadapter]
1 parent fca2c24 commit fb3aa17

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build_openvpnadapter_apple.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,11 @@ jobs:
130130
name: GitHub Release
131131
needs: [build-macos, build-ios]
132132
runs-on: ubuntu-latest
133-
if: startsWith(github.ref, 'refs/tags/')
133+
# if: startsWith(github.ref, 'refs/tags/')
134+
if: |
135+
contains(github.event.head_commit.message, '[all]') ||
136+
contains(github.event.head_commit.message, '[macos]') ||
137+
contains(github.event.head_commit.message, '[openvpnadapter]')
134138
135139
steps:
136140
- name: Setup | Checkout
@@ -144,7 +148,7 @@ jobs:
144148

145149
- name: Generate Checksums for macOS
146150
run: |
147-
find ./openvpnadapter-ios \
151+
find ./openvpnadapter-mac/ \
148152
-type f \( -name '*.framework' -o -name '*.dylib' \) \
149153
-exec sh -c 'openssl dgst -sha256 -r "$1" > "$1.sha256"' _ {} \;
150154
@@ -156,7 +160,7 @@ jobs:
156160

157161
- name: Generate Checksums for iOS
158162
run: |
159-
find ./openvpnadapter-ios \
163+
find ./openvpnadapter-ios/ \
160164
-type f \( -name '*.framework' -o -name '*.dylib' \) \
161165
-exec sh -c 'openssl dgst -sha256 -r "$1" > "$1.sha256"' _ {} \;
162166

0 commit comments

Comments
 (0)