-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
158 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
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: nuget restore | ||
|
||
- name: Build and make appcast (Linux only) | ||
run: python3 Mirivoice.Desktop/appveyor.py 2>&1 | ||
|
||
|
||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
prerelease: true | ||
files: | | ||
MiriVoice-linux-x64.tar.gz | ||
appcast.linux-x64.xml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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/appveyor.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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Deploy Release (Windows) | ||
|
||
on: | ||
push: | ||
tags: | ||
- "*" | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build: | ||
env: | ||
DOTNET_NOLOGO: true | ||
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
VERSION: ${{ github.ref_name }} | ||
|
||
runs-on: windows-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 (Windows only) | ||
run: python Mirivoice.Desktop/appveyor.py 2>&1 | ||
|
||
- name: Zip | ||
run: | | ||
$VERSION="${{ github.ref_name }}" | ||
echo $VERSION | ||
Compress-Archive -Path Mirivoice.Desktop/bin/win-x86/* -DestinationPath ./MiriVoice-win-x86.zip | ||
Compress-Archive -Path Mirivoice.Desktop/bin/win-x64/* -DestinationPath ./MiriVoice-win-x64.zip | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
prerelease: true | ||
files: | | ||
MiriVoice-win-x86.zip | ||
MiriVoice-win-x64.zip | ||
appcast.win-x86.xml | ||
appcast.win-x64.xml |
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
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