-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (47 loc) · 1.78 KB
/
pre-release.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
name: pre-release check
on:
push:
branches: [ pre-release ]
jobs:
build:
runs-on: ubuntu-latest
env:
TF_BUILD: true
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Publish Open PackML to NuGet
# You may pin to the exact commit or the version.
# uses: brandedoutcast/publish-nuget@c12b8546b67672ee38ac87bea491ac94a587f7cc
uses: alirezanet/[email protected]
with:
PROJECT_FILE_PATH: Open.PackML/Open.PackML.csproj
NUGET_KEY: ${{secrets.NUGET_KEY}}
VERSION_FILE_PATH: Open.PackML/Open.PackML.csproj
INCLUDE_SYMBOLS: true
NO_BUILD: true
- name: Publish Open PackML Tags to NuGet
# You may pin to the exact commit or the version.
# uses: brandedoutcast/publish-nuget@c12b8546b67672ee38ac87bea491ac94a587f7cc
uses: alirezanet/[email protected]
with:
PROJECT_FILE_PATH: Open.PackML.Tags/Open.PackML.Tags.csproj
NUGET_KEY: ${{secrets.NUGET_KEY}}
VERSION_FILE_PATH: Open.PackML.Tags/Open.PackML.Tags.csproj
INCLUDE_SYMBOLS: true
NO_BUILD: true
- name: Publish Open PackML PRefabs to NuGet
# You may pin to the exact commit or the version.
# uses: brandedoutcast/publish-nuget@c12b8546b67672ee38ac87bea491ac94a587f7cc
uses: alirezanet/[email protected]
with:
PROJECT_FILE_PATH: Open.PackML.Prefab/Open.PackML.Prefab.csproj
NUGET_KEY: ${{secrets.NUGET_KEY}}
VERSION_FILE_PATH: Open.PackML.Prefab/Open.PackML.Prefab.csproj
INCLUDE_SYMBOLS: true
NO_BUILD: true