-
-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (37 loc) · 924 Bytes
/
release-linux.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
name: Deploy Release (Linux)
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
build:
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: 1
VERSION: ${{ github.ref_name }}
runs-on: ubuntu-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: |
brew install nuget
nuget restore
- name: Build and make appcast (Linux only)
run: python3 Mirivoice.Desktop/deploy.py 2>&1
- name: Release
uses: softprops/action-gh-release@v1
with:
prerelease: true
files: |
MiriVoice-linux-x64.tar.gz
appcast.linux-x64.xml