Fixed crashing when CurrentSingleLineEditor is null #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Release (MacOS) | |
on: | |
push: | |
tags: | |
- "*" | |
permissions: | |
contents: write | |
jobs: | |
build: | |
env: | |
DOTNET_NOLOGO: true | |
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
VERSION: ${{ github.ref_name }} | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check version | |
run: | | |
TAG=${{ github.ref_name }} | |
echo $TAG | |
- name: Set up .NET Core | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '8.x' | |
- name: Restore dependencies | |
run: nuget restore | |
- name: Build and make appcast (Mac only) | |
run: python3 Mirivoice.Desktop/deploy.py 2>&1 | |
- name: Move File | |
run: | | |
VERSION=${{ github.ref_name }} | |
echo $VERSION | |
mv Mirivoice.Desktop/osxbuild/MiriVoice-osx-x64.zip ./MiriVoice-osx-x64.zip | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
prerelease: true | |
files: | | |
MiriVoice-osx-x64.zip | |
appcast.osx-x64.xml |