Skip to content

Commit

Permalink
automation: setup github action template
Browse files Browse the repository at this point in the history
Signed-off-by: hoyho <[email protected]>
  • Loading branch information
hoyho committed May 16, 2024
1 parent e4770f4 commit 920e7e2
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/pre-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: "pre-release"
on:
push:
branches:
- "master"
env:
DOTNET_VERSION: '8.0.x'
jobs:
pre-release:
name: "Pre Release"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Install dependencies
run: dotnet restore

- name: "Build & test"
run: |
publish.sh
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
LICENSE
_output/*.app

0 comments on commit 920e7e2

Please sign in to comment.