Skip to content

Add update checks, About menu, and opt-in telemetry #5

Add update checks, About menu, and opt-in telemetry

Add update checks, About menu, and opt-in telemetry #5

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.0.x"
- name: Restore
run: dotnet restore .\RrRpm2\RrRpm2.csproj
- name: Publish
run: dotnet publish .\RrRpm2\RrRpm2.csproj -c Release -r win-x64 --self-contained false -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -o .\artifacts\RR-to-RPM2
- name: Package
run: Compress-Archive -Path .\artifacts\RR-to-RPM2\* -DestinationPath .\artifacts\RR-to-RPM2-win-x64.zip -Force
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: RR-to-RPM2-win-x64
path: .\artifacts\RR-to-RPM2-win-x64.zip
- name: Create GitHub release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
files: .\artifacts\RR-to-RPM2-win-x64.zip