Skip to content

Commit

Permalink
fix ci for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Ombrelin committed Aug 7, 2022
1 parent 2b26214 commit ea178cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
run: dotnet test --no-build --verbosity normal
build-linux-deb:
name: Build, Test and compile executable on Linux
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/dotnet/sdk:6.0
Expand All @@ -44,6 +45,7 @@ jobs:

build-windows-installer:
name: Build, Test and publish executable on windows
if: startsWith(github.ref, 'refs/tags/')
runs-on: windows-latest
needs: [build-and-test]
steps:
Expand All @@ -62,6 +64,7 @@ jobs:
name: Create a release for with artifacts
needs: [build-and-test,build-linux-deb,build-windows-installer]
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit ea178cc

Please sign in to comment.