Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/release-automated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
sudo gem install bundler
bundle config set path 'vendor/bundle'
bundle install
carthage bootstrap --use-xcframeworks
- run: npm ci
- run: npx semantic-release
env:
Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/release-manual-assets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: release-manual-assets
on:
workflow_dispatch:
inputs:
tag:
default: ''
description: 'Version tag:'
env:
CI_XCODE_11: '/Applications/Xcode_11.7.app/Contents/Developer'

jobs:
assets:
if: github.event.inputs.tag != ''
runs-on: macos-11
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.tag }}
- name: Cache Gems
id: cache-gems
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gem-
- name: Submodules and Bundle Install
run: |
git submodule update --init --recursive
sudo gem install bundler
bundle config set path 'vendor/bundle'
bundle install
carthage bootstrap --use-xcframeworks
- name: Build Release
run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake package:release
env:
DEVELOPER_DIR: ${{ env.CI_XCODE_11 }}
- name: Deploy assets
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/release/*
tag: ${{ github.event.inputs.tag }}
overwrite: true
file_glob: true