From 9c28efab5c546a22ebcb739b490bf595443482be Mon Sep 17 00:00:00 2001 From: Max Goedjen Date: Mon, 18 Jan 2021 15:14:23 -0800 Subject: [PATCH] Improve release template (#206) * Improve release template * Update release.yml * Update test.yml --- .github/workflows/release.yml | 37 +++++++++++++++++++++++------------ .github/workflows/test.yml | 2 +- 2 files changed, 26 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d1b1520..1893019 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: AGENT_PROFILE_DATA: ${{ secrets.AGENT_PROFILE_DATA }} run: ./.github/scripts/signing.sh - name: Set Environment - run: sudo xcrun xcode-select -s /Applications/Xcode_12.2.app + run: sudo xcrun xcode-select -s /Applications/Xcode_12.3.app - name: Test run: xcrun xcodebuild test -project Secretive.xcodeproj -scheme Secretive build: @@ -26,17 +26,6 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v2 - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} - body: "## Build\nhttps://github.com/maxgoedjen/secretive/actions/runs/${{ github.run_id }}" - draft: true - prerelease: false - name: Setup Signing env: SIGNING_DATA: ${{ secrets.SIGNING_DATA }} @@ -70,6 +59,30 @@ jobs: run: | shasum -a 512 Secretive.zip shasum -a 512 Archive.zip + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: ${{ github.ref }} + body: | + Update description + + ## Features + + + ## Fixes + + + ## Minimum macOS Version + + + ## Build + https://github.com/maxgoedjen/secretive/actions/runs/${{ github.run_id }} + draft: true + prerelease: false - name: Upload App to Release id: upload-release-asset uses: actions/upload-release-asset@v1.0.1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dc4f0c1..89f9231 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_12.2.app + run: sudo xcrun xcode-select -s /Applications/Xcode_12.3.app - name: Test run: xcrun xcodebuild test -project Secretive.xcodeproj -scheme Secretive