1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-13 22:00:31 +05:30

Update release workflow

This commit is contained in:
Arkadiusz Fal 2023-02-25 22:18:24 +01:00
parent 582f07388e
commit 0d3138b36e

View File

@ -1,8 +1,5 @@
name: Build and release to TestFlight and GitHub
on:
push:
tags:
- 'v1.*'
workflow_dispatch:
env:
@ -53,6 +50,8 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
ref: main
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
@ -75,6 +74,8 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
ref: main
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
@ -105,6 +106,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: main
- run: echo "BUILD_NUMBER=$(cat Yattee.xcodeproj/project.pbxproj | grep -m 1 CURRENT_PROJECT_VERSION | cut -d' ' -f3 | sed 's/;//g')" >> $GITHUB_ENV
- run: echo "VERSION_NUMBER=$(cat Yattee.xcodeproj/project.pbxproj | grep -m 1 MARKETING_VERSION | cut -d' ' -f3 | sed 's/;//g')" >> $GITHUB_ENV
- uses: actions/download-artifact@v3