diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 946d74ab..1a6d9d00 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -6,31 +6,33 @@ on: #pull_request: # branches: [ master ] schedule: - - cron: '0 23 * * *' + - cron: "0 23 * * *" workflow_dispatch: jobs: nightly: - runs-on: macos-12 + runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: recursive - name: Bootstrap Carthage + env: + GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: carthage bootstrap --platform macOS - name: Install xcpretty run: gem install xcpretty --no-document --quiet - + - name: Build run: | set -o pipefail xcodebuild clean - xcodebuild build -configuration release -project MacPass.xcodeproj -scheme MacPass CODE_SIGNING_REQUIRED=NO -derivedDataPath ./build | xcpretty -c - + xcodebuild build -configuration release -project MacPass.xcodeproj -scheme MacPass CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGN_ENTITLEMENTS="" -derivedDataPath ./build | xcpretty -c + - name: Export Localizations run: | xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage de @@ -42,20 +44,20 @@ jobs: xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage ru xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage sv-SE xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage zh-Hans - + - name: Zip Localizations run: zip -9ry Localisations.zip Localisations - + - name: Package Release run: | cd ./build/Build/Products/Release zip -9ry MacPass-continuous.zip MacPass.app - - - name: Create MD5 Hash + + - name: Create SHA256 Hash run: | cd ./build/Build/Products/Release shasum -a 256 MacPass-continuous.zip > MacPass-continuous.zip.sha256 - + #- name: Release # uses: eine/tip@master # with: @@ -65,13 +67,13 @@ jobs: # Localisations.zip # ./build/Build/Products/Release/MacPass-continuous.zip # ./build/Build/Products/Release/MacPass-continuous.zip.sha256 - + - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: tag_name: continuous files: | Localisations.zip ./build/Build/Products/Release/MacPass-continuous.zip - ./build/Build/Products/Release/MacPass-continuous.zip.sha256 + ./build/Build/Products/Release/MacPass-continuous.zip.sha256 \ No newline at end of file diff --git a/Cartfile b/Cartfile index 775309f4..40d456f2 100644 --- a/Cartfile +++ b/Cartfile @@ -1,4 +1,4 @@ binary "https://sparkle-project.org/Carthage/Sparkle.json" -github "MacPass/TransformerKit" "a8b5bb73cc327ec6798569b865c32fec5eb2289f" -github "MacPass/KeePassKit" ~> 3.2.0 -github "mstarke/HNHUi" ~> 6.0 +github "MacPass/TransformerKit" "3232b04c568df7f98b33ceb21a2090a9ccbc2065" +github "MacPass/KeePassKit" ~> 3.3.2 +github "mstarke/HNHUi" ~> 6.0.1 diff --git a/Cartfile.resolved b/Cartfile.resolved index 8527db1a..8b9548f8 100644 --- a/Cartfile.resolved +++ b/Cartfile.resolved @@ -1,5 +1,5 @@ -binary "https://sparkle-project.org/Carthage/Sparkle.json" "2.3.0" -github "MacPass/KeePassKit" "3.2.1" -github "MacPass/KissXML" "933f04fe5ad95c2be07ec0c2f801e140007f20fa" -github "MacPass/TransformerKit" "a8b5bb73cc327ec6798569b865c32fec5eb2289f" -github "mstarke/HNHUi" "6.0" +binary "https://sparkle-project.org/Carthage/Sparkle.json" "2.6.4" +github "MacPass/KeePassKit" "3.3.2" +github "MacPass/KissXML" "503fc012b73a4507965019720cbf1c157e849657" +github "MacPass/TransformerKit" "3232b04c568df7f98b33ceb21a2090a9ccbc2065" +github "mstarke/HNHUi" "6.0.1" \ No newline at end of file diff --git a/MacPass.xcodeproj/project.pbxproj b/MacPass.xcodeproj/project.pbxproj index d3eb33fc..19dbb3a5 100644 --- a/MacPass.xcodeproj/project.pbxproj +++ b/MacPass.xcodeproj/project.pbxproj @@ -2010,11 +2010,11 @@ isa = PBXNativeTarget; buildConfigurationList = 4C77E38015B84A240093A587 /* Build configuration list for PBXNativeTarget "MacPass" */; buildPhases = ( + 4CC5D36618A1332000AF7FA8 /* CopyFiles */, 4C77E35E15B84A240093A587 /* Sources */, 4C77E35F15B84A240093A587 /* Frameworks */, 4C77E36015B84A240093A587 /* Resources */, 4C44DB1B1C08999F00774EB3 /* Versioning */, - 4CC5D36618A1332000AF7FA8 /* CopyFiles */, ); buildRules = ( );