-
-
Notifications
You must be signed in to change notification settings - Fork 133
36 lines (30 loc) · 828 Bytes
/
Copy pathpub.yml
File metadata and controls
36 lines (30 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: pub
on: workflow_dispatch
jobs:
build:
strategy:
matrix:
os: [windows-2025]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
path: "SQLitePCL.raw"
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
- name: Install T4
run: dotnet tool install --global dotnet-t4
- name: Build
env:
SG_NUGET_TOKEN: ${{ secrets.SG_NUGET_TOKEN }}
SEE_ACTIVATION_CODE: ${{ secrets.SEE_ACTIVATION_CODE }}
run: |
cd SQLitePCL.raw/build
dotnet run
- name: Push
run:
dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }} --skip-duplicate
working-directory: SQLitePCL.raw/nupkgs