Skip to content

Commit

Permalink
Merge pull request #113 from ionite34/add-release-trigger-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ionite34 authored Jun 26, 2023
2 parents 3e3c507 + 684eaf6 commit 9a99c58
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ on:
workflow_dispatch:
release:
types: [ published ]
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
branches: [ main ]

jobs:
release:
Expand Down Expand Up @@ -42,9 +38,7 @@ jobs:
run: dotnet restore -p:PublishReadyToRun=true

- name: Build
run: dotnet publish ./StabilityMatrix/StabilityMatrix.csproj -o out -c Release -r win-x64 \
-p:Version=$env:RELEASE_VERSION -p:FileVersion=$env:RELEASE_VERSION -p:AssemblyVersion=$env:RELEASE_VERSION \
-p:PublishReadyToRun=true -p:PublishSingleFile=true --self-contained true
run: dotnet publish ./StabilityMatrix/StabilityMatrix.csproj -o out -c Release -r win-x64 -p:Version=$env:RELEASE_VERSION -p:FileVersion=$env:RELEASE_VERSION -p:AssemblyVersion=$env:RELEASE_VERSION -p:PublishReadyToRun=true -p:PublishSingleFile=true --self-contained true

- name: Upload Artifact
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 9a99c58

Please sign in to comment.