Skip to content

Commit

Permalink
add checksums [openvpnadapter]
Browse files Browse the repository at this point in the history
  • Loading branch information
Macbook authored and Macbook committed Jan 17, 2025
1 parent e491c82 commit fca2c24
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build_openvpnadapter_apple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@ jobs:
rm -rf $WORKINGDIR/OpenVPNAdapter/build/Release-macos/OpenVPNClient.framework
rm -rf $WORKINGDIR/OpenVPNAdapter/build/Release-macos/mbedTLS.framework
rm -rf $WORKINGDIR/OpenVPNAdapter/build/Release-macos/OpenVPNAdapter.framework.dSYM
- name: Generate Checksums for macOS
run: |
export WORKINGDIR=`pwd`
find $WORKINGDIR/OpenVPNAdapter/build/Release-macos/ \
-type f \( -name '*.framework' -o -name '*.dylib' \) \
-exec sh -c 'openssl dgst -sha256 -r "$1" > "$1.sha256"' _ {} \;
- name: Archive Build
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -126,12 +120,6 @@ jobs:
rm -rf $WORKINGDIR/OpenVPNAdapter/build/Release-iphoneos/OpenVPNClient.framework
rm -rf $WORKINGDIR/OpenVPNAdapter/build/Release-iphoneos/mbedTLS.framework
rm -rf $WORKINGDIR/OpenVPNAdapter/build/Release-iphoneos/OpenVPNAdapter.framework.dSYM
- name: Generate Checksums for iOS
run: |
export WORKINGDIR=`pwd`
find $WORKINGDIR/OpenVPNAdapter/build/Release-iphoneos/ \
-type f \( -name '*.framework' -o -name '*.dylib' \) \
-exec sh -c 'openssl dgst -sha256 -r "$1" > "$1.sha256"' _ {} \;
- name: Archive Build
uses: actions/upload-artifact@v3
Expand All @@ -154,11 +142,23 @@ jobs:
name: OpenVPNAdapter-macos
path: openvpnadapter-mac/

- name: Generate Checksums for macOS
run: |
find ./openvpnadapter-ios \
-type f \( -name '*.framework' -o -name '*.dylib' \) \
-exec sh -c 'openssl dgst -sha256 -r "$1" > "$1.sha256"' _ {} \;
- name: Setup | Download iOS Artifact
uses: actions/download-artifact@v3
with:
name: OpenVPNAdapter-ios
path: openvpnadapter-ios/

- name: Generate Checksums for iOS
run: |
find ./openvpnadapter-ios \
-type f \( -name '*.framework' -o -name '*.dylib' \) \
-exec sh -c 'openssl dgst -sha256 -r "$1" > "$1.sha256"' _ {} \;
- name: Create Combined Folder
run: |
Expand Down

0 comments on commit fca2c24

Please sign in to comment.