Skip to content

2.9.0

2.9.0 #11

Workflow file for this run

name: Diana
on:
workflow_dispatch:
push:
tags:
- '*'
env:
SPARKLE_KEY: ${{ secrets.SPARKLE_KEY }}
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
jobs:
Release:
runs-on: macos-13
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup
uses: actions/[email protected]
- name: Setup Xcode
uses: maxim-lobanov/[email protected]
- name: Create DMG
run: |
fastlane create_dmg
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
body_path: ${{ env.LOG_PATH }}
files: ${{ env.APP_PATH }}
- name: Appcast
uses: actions/[email protected]
if: startsWith(github.ref, 'refs/tags/')
with:
github-token: ${{ secrets.PERSONAL_TOKEN }}
script: |
github.rest.repos.requestPagesBuild({
owner: context.repo.owner,
repo: context.repo.repo,
})