Skip to content

Commit

Permalink
BE-14954: Refactor existing workflows to one file.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubsemerak committed Mar 5, 2024
1 parent 666583b commit 7949fef
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

configuration:
required: false
default: "Debug"
default: "Release"
type: string


Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,19 @@ jobs:
uses: ./.github/workflows/dotnet-tests.yml
with:
working-directory: "dotnet/UneceGenerator"
configuration: "Release"

python-tests:
uses: ./.github/workflows/python-tests.yml
with:
working-directory: "python"

deploy:
# Publish only when creating a GitHub Release
# https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository
# You can update this logic if you want to manage releases differently
if: github.event_name == 'release'
runs-on: ubuntu-latest
needs: [ validate_nuget, dotnet-tests ]
needs: [ validate_nuget, dotnet-tests, python-tests ]
steps:
# Download the NuGet package created in the previous job
- uses: actions/download-artifact@v3
Expand Down
15 changes: 0 additions & 15 deletions .github/workflows/pull.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/push.yml

This file was deleted.

0 comments on commit 7949fef

Please sign in to comment.