mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-04-05 20:55:01 +08:00
nightly release push action rework v12
This commit is contained in:
parent
b1f880d089
commit
3f1035cd6d
4
.github/workflows/nightly_release.yml
vendored
4
.github/workflows/nightly_release.yml
vendored
@ -3,10 +3,10 @@ name: Nightly Release
|
|||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * *"
|
- cron: "0 0 * * *"
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check_date:
|
check_date:
|
||||||
|
if: ${{ 'true' == 'false' }} # prevent run since it is a dependent job.
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Check latest commit
|
name: Check latest commit
|
||||||
outputs:
|
outputs:
|
||||||
@ -48,6 +48,6 @@ jobs:
|
|||||||
run: dotnet pack -c Release -o package tools/UglyToad.PdfPig.Package/UglyToad.PdfPig.Package.csproj
|
run: dotnet pack -c Release -o package tools/UglyToad.PdfPig.Package/UglyToad.PdfPig.Package.csproj
|
||||||
|
|
||||||
- name: Publish Nuget to GitHub registry
|
- name: Publish Nuget to GitHub registry
|
||||||
run: dotnet nuget push **/*.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
|
run: dotnet nuget push **/*.nupkg --skip-duplicate --no-symbols --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user