Skip to content

Commit

Permalink
Skip signing
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementTsang committed Apr 23, 2024
1 parent 52c5ac4 commit ccbd523
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
workflow_dispatch:
pull_request:


jobs:
build-release:
uses: ./.github/workflows/build.yml
Expand All @@ -18,6 +17,18 @@ jobs:
runs-on: macos-14
needs: [build-release]
steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 1

- name: Get app version and build number
run: |
APP_VERSION=$(xcrun agvtool mvers -terse1)
APP_BUILD=$(xcrun agvtool vers -terse)
echo "APP_VERSION=$APP_VERSION" >> $GITHUB_ENV
echo "APP_BUILD=$APP_BUILD" >> $GITHUB_ENV
- name: Get build artifacts
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
with:
Expand All @@ -29,20 +40,13 @@ jobs:
run: |
npm install --global create-dmg
mkdir release
create-dmg "build_artifacts/Barista.xcarchive/Products/Applications/Barista.app" "release"
create-dmg "build_artifacts/Barista.xcarchive/Products/Applications/Barista.app" "release" || true
- name: Print out all release files
run: |
echo "Generated $(ls ./release | wc -l) files:"
du -h -d 0 ./release/*
- name: Get app version and build number
run: |
APP_VERSION=$(xcrun agvtool mvers -terse1)
APP_BUILD=$(xcrun agvtool vers -terse)
echo "APP_VERSION=$APP_VERSION" >> $GITHUB_ENV
echo "APP_BUILD=$APP_BUILD" >> $GITHUB_ENV
- name: Create release and add release files
uses: softprops/action-gh-release@20e085ccc73308c2c8e43ab8da4f8d7ecbb94d4e # 2.0.1
with:
Expand All @@ -67,4 +71,4 @@ jobs:
## Internal Changes
files: |
./build/*
./release/*

0 comments on commit ccbd523

Please sign in to comment.