Skip to content

Commit

Permalink
Fixed ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Ogerets committed Jul 24, 2022
1 parent bda7c7e commit 05c5c86
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Decrypt tests config
run: |
set -o pipefail
openssl aes-256-cbc -K $ENCRYPTION_KEY -iv $ENCRYPTION_IV -in config.tar.enc -out config.tar -d
tar xvf config.tar
mv TestConfig.plist Tests/Swift/Data/TestConfig.plist
run: ./decrypt-config.sh
- name: Prepare Dependencies
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -57,6 +53,9 @@ jobs:
runs-on: macOS-12
steps:
- uses: actions/checkout@v2
- name: Decrypt tests config
run: ./decrypt-config.sh
- name: SPM test
- run: brew install coreutils # install 'timeout' utility
- run: swift --version
- run: timeout 5m bash -c 'until swift build; do rm -fr .build && sleep 10; done' # fix for Swift Package Manager when it fails to download binary targets
Expand Down
3 changes: 3 additions & 0 deletions CI/decrypt-config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
openssl aes-256-cbc -K $ENCRYPTION_KEY -iv $ENCRYPTION_IV -in config.tar.enc -out config.tar -d
tar xvf config.tar
mv TestConfig.plist Tests/Swift/Data/TestConfig.plist
2 changes: 1 addition & 1 deletion VirgilSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "VirgilSDK"
s.version = "8.0.1"
s.version = "8.1.0"
s.swift_version = "5.0"
s.license = { :type => "BSD", :file => "LICENSE" }
s.summary = "Virgil SDK for Apple devices and languages."
Expand Down
2 changes: 1 addition & 1 deletion VirgilSDK/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>8.0.1</string>
<string>8.1.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSHumanReadableCopyright</key>
Expand Down
Binary file modified config.tar.enc
Binary file not shown.

0 comments on commit 05c5c86

Please sign in to comment.