mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-15 15:09:29 +00:00
Fix automated workflow for pull requests
This commit is contained in:
committed by
GitHub
parent
541e162887
commit
4d0a9e1ffa
@@ -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
|
||||
run: dotnet nuget push "./**/*.nupkg" --source "MyGet" --skip-duplicate --api-key $MYGET_ACCESS_TOKEN
|
||||
|
||||
Reference in New Issue
Block a user