-
-
Notifications
You must be signed in to change notification settings - Fork 2
52 lines (40 loc) · 1.04 KB
/
release-osx.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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