Skip to content

Merge pull request #4 from beat-forge/release-please--branches--main-… #1

Merge pull request #4 from beat-forge/release-please--branches--main-…

Merge pull request #4 from beat-forge/release-please--branches--main-… #1

Workflow file for this run

name: Publish
on:
push:
tags:
- "v*"
jobs:
publish:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- uses: actions/cache@v3
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
restore-keys: |
${{ runner.os }}-nuget
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore --configuration Release
- name: Upload release asset
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: |
bin/Release/net6.0/GenericStripper.exe
asset_name: GenericStripper.exe
tag: ${{ github.ref }}