1
0
mirror of https://github.com/oliverbooth/VPLink synced 2024-11-14 16:25:41 +00:00
VPLink/.github/workflows/prerelease.yml

33 lines
646 B
YAML
Raw Normal View History

2023-08-22 14:57:18 +01:00
name: Tagged Pre-Release
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+-*"
jobs:
prerelease:
name: "Tagged Pre-Release"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
2023-08-22 14:57:18 +01:00
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
2023-08-22 14:57:18 +01:00
- name: Restore dependencies
run: dotnet restore
2023-08-22 14:57:18 +01:00
- name: Build
run: dotnet build -c Release
2023-08-22 14:57:18 +01:00
- name: Create Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true