From 137cae72478f4ebf32bb6d9109c86c9000918d87 Mon Sep 17 00:00:00 2001 From: Max Goedjen Date: Fri, 24 Dec 2021 13:40:51 -0800 Subject: [PATCH] Update Xcode and upload archives --- .github/workflows/release.yml | 16 +++++++++++++--- .github/workflows/test.yml | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 56bfbe1..becaabd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }} run: ./.github/scripts/signing.sh - name: Set Environment - run: sudo xcrun xcode-select -s /Applications/Xcode_13.2.app + run: sudo xcrun xcode-select -s /Applications/Xcode_13.2.1.app - name: Test run: xcrun xcodebuild test -project Secretive.xcodeproj -scheme Secretive build: @@ -38,7 +38,7 @@ jobs: APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }} run: ./.github/scripts/signing.sh - name: Set Environment - run: sudo xcrun xcode-select -s /Applications/Xcode_13.2.app + run: sudo xcrun xcode-select -s /Applications/Xcode_13.2.1.app - name: Update Build Number env: TAG_NAME: ${{ github.ref }} @@ -97,10 +97,20 @@ jobs: asset_path: ./Secretive.zip asset_name: Secretive.zip asset_content_type: application/zip + - name: Upload Archive to Release + id: upload-release-asset + uses: actions/upload-release-asset@v1.0.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./Archive.zip + asset_name: Xcode Archive.zip + asset_content_type: application/zip - name: Upload Archive to Artifacts uses: actions/upload-artifact@v1 with: - name: Archive.zip + name: Xcode Archive.zip path: Archive.zip - name: Upload Archive to Artifacts uses: actions/upload-artifact@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 430be2c..ca26b5c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,6 +8,6 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set Environment - run: sudo xcrun xcode-select -s /Applications/Xcode_13.2.app + run: sudo xcrun xcode-select -s /Applications/Xcode_13.2.1.app - name: Test run: xcrun xcodebuild test -project Secretive.xcodeproj -scheme Secretive