diff --git a/.github/workflows/build-test-deploy.yml b/.github/workflows/build-test-deploy.yml index 9174e7e3..86d5fe65 100644 --- a/.github/workflows/build-test-deploy.yml +++ b/.github/workflows/build-test-deploy.yml @@ -10,13 +10,12 @@ env: on: push: - branches: [master, develop] + branches: [develop] tags: [v*] pull_request: - branches: [master, develop] - repository_dispatch: - #HACK: This allows to re-run the workflow from an external API call; useful for testing/debugging the workflow without having to commit a change in a branch - types: [run] + branches: [develop] + pull_request_target: + branches: [develop] jobs: @@ -95,7 +94,7 @@ jobs: sudo fc-cache -f -v sudo fc-match Arial - - name: "Install dependencies" + - name: "Download NuGet packages" run: dotnet restore '${{ env.SOLUTION_PATH }}' --verbosity quiet - name: "Build solution" @@ -139,4 +138,4 @@ jobs: run: dotnet nuget add source $MYGET_SOURCE_URL --name "MyGet" - name: "Upload Packages: MyGet" - run: dotnet nuget push "./**/*.nupkg" --source "MyGet" --skip-duplicate --api-key $MYGET_ACCESS_TOKEN \ No newline at end of file + run: dotnet nuget push "./**/*.nupkg" --source "MyGet" --skip-duplicate --api-key $MYGET_ACCESS_TOKEN