Skip to content

Commit

Permalink
Fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
oldtimerza committed Jul 4, 2020
1 parent a5a096b commit 06cd43b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,33 +23,3 @@ jobs:
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal

on:
push:
tags:
- '*'

jobs:
build:
name: Publish binaries
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101
- name: Get into Meerkat
run: cd Meerkat
- name: Publish
run: dotnet publish -c release -o ./bin/Release/meerkat --self-contained false
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: bin/Release/Meerkat/Meerkat.exe
asset_name: Meerkat
tag: ${{ github.ref }}
overwrite: true
body: "Latest release of Meerkat"
31 changes: 31 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Publish

on:
push:
tags:
- "*"

jobs:
build:
name: Publish binaries
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101
- name: Get into Meerkat
run: cd Meerkat
- name: Publish
run: dotnet publish -c release -o ./bin/Release/meerkat --self-contained false
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: bin/Release/Meerkat/Meerkat.exe
asset_name: Meerkat
tag: ${{ github.ref }}
overwrite: true
body: "Latest release of Meerkat"

0 comments on commit 06cd43b

Please sign in to comment.