-
Notifications
You must be signed in to change notification settings - Fork 2
76 lines (64 loc) · 2.22 KB
/
nuget-publish.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: Package Creation
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]"
env:
token: ${{ secrets.NUGET_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set VERSION variable from tag
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
- uses: ./.github/actions/build-package
with:
packageId: Meadow.Foundation.FeatherWings.CharlieWing
path: Source/CharlieWing/Driver/CharlieWing.csproj
version: ${VERSION}
token: ${{ env.token }}
- uses: ./.github/actions/build-package
with:
packageId: Meadow.Foundation.FeatherWings.DotstarWing
path: Source/DotstarWing/Driver/DotstarWing.csproj
version: ${VERSION}
token: ${{ env.token }}
- uses: ./.github/actions/build-package
with:
packageId: Meadow.Foundation.FeatherWings.GPSWing
path: Source/GPSWing/Driver/GPSWing.csproj
version: ${VERSION}
token: ${{ env.token }}
- uses: ./.github/actions/build-package
with:
packageId: Meadow.Foundation.FeatherWings.KeyboardWing
path: Source/KeyboardWing/Driver/KeyboardWing.csproj
version: ${VERSION}
token: ${{ env.token }}
- uses: ./.github/actions/build-package
with:
packageId: Meadow.Foundation.FeatherWings.LedMatrix8x16Wing
path: Source/LedMatrix8x16Wing/Driver/LedMatrix8x16Wing.csproj
version: ${VERSION}
token: ${{ env.token }}
- uses: ./.github/actions/build-package
with:
packageId: Meadow.Foundation.FeatherWings.MotorWing
path: Source/MotorWing/Driver/MotorWing.csproj
version: ${VERSION}
token: ${{ env.token }}
- uses: ./.github/actions/build-package
with:
packageId: Meadow.Foundation.FeatherWings.OLED128x32Wing
path: Source/OLED128x32Wing/Driver/OLED128x32Wing.csproj
version: ${VERSION}
token: ${{ env.token }}
- uses: ./.github/actions/build-package
with:
packageId: Meadow.Foundation.FeatherWings.ServoWing
path: Source/ServoWing/Driver/ServoWing.csproj
version: ${VERSION}
token: ${{ env.token }}