forked from tuist/tuist
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 974 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Release
on:
push:
tags:
- '*'
jobs:
release:
name: Release Tuist
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
ref: master
fetch-depth: 0
- uses: actions/setup-ruby@v1
with:
ruby-version: '2.x'
- name: Install Bundler 2.1.4
run: gem install bundler --version 2.1.4
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Bundle install
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Select Xcode 11.5
run: sudo xcode-select -switch /Applications/Xcode_11.5.app
- name: Create a new release
uses: fortmarek/tapestry-action@0.1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}