Skip to content

MockingStar - Release 1.0.0-1 #18

MockingStar - Release 1.0.0-1

MockingStar - Release 1.0.0-1 #18

Workflow file for this run

name: Release App
on:
release:
types: [published]
jobs:
test:
name: 'Release MockingStar App'
runs-on: macOS
permissions:
contents: write
steps:
- name: Check out Repository
uses: actions/checkout@v3
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Configure git credentials
uses: fregante/setup-git-user@v2
- name: Build App
run: swift run --package-path ./fastlaneRunner fastlaneRunner lane releaseAppLane
env:
CERT: ${{ secrets.CERT }}
PASS: ${{ secrets.PASS }}
CODESIGNING_IDENTITY: ${{ secrets.CODESIGNING_IDENTITY }}
PROFILE: ${{ secrets.PROFILE }}
TEAM_ID: ${{ secrets.TEAM_ID }}
ASC_KEY_ID: ${{ secrets.ASC_KEY_ID }}
ASC_ISSUER_ID: ${{ secrets.ASC_ISSUER_ID }}
ASC_KEY: ${{ secrets.ASC_KEY }}
VERSION: ${{ github.event.release.tag_name }}
RELEASE_NOTES: ${{ github.event.release.body }}
SPARKLE_PRIVATE_KEY: ${{ secrets.SPARKLE_PRIVATE_KEY }}
- name: Create a Release
uses: ncipollo/release-action@v1
with:
tag: ${{ env.RELEASE_VERSION }}
name: MockingStar - Release ${{ env.RELEASE_VERSION }}
artifacts: '.build/appBuildOutput/MockingStar-App.zip'
allowUpdates: true