Make build.yml not publish on all pushes and update dependencies
This commit is contained in:
parent
47d1e9569a
commit
a620bd806c
1 changed files with 4 additions and 4 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -1,18 +1,18 @@
|
||||||
name: Build and Publish
|
name: Build and Publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
workflow_dispatch:
|
||||||
branches: [ master ]
|
inputs: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: nuget/setup-nuget@v1
|
- uses: nuget/setup-nuget@v1
|
||||||
with:
|
with:
|
||||||
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
|
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
|
||||||
nuget-version: '5.x'
|
nuget-version: '6.x'
|
||||||
- name: "Publish on Nuget"
|
- name: "Publish on Nuget"
|
||||||
run: |
|
run: |
|
||||||
nuget pack Ryujinx.Graphics.Nvdec.Dependencies.nuspec -Suffix "build${{ github.run_number }}"
|
nuget pack Ryujinx.Graphics.Nvdec.Dependencies.nuspec -Suffix "build${{ github.run_number }}"
|
||||||
|
|
Loading…
Reference in a new issue