Skip to content

Commit

Permalink
nuget pack and artifact upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jbest84 committed Jan 31, 2024
1 parent 61b2dc6 commit e288705
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 32 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: SData client library build

on:
push:
branches: [ "master", "develop" ]
pull_request:
branches: [ "master", "develop" ]

jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2

- name: Setup NuGet
uses: nuget/setup-nuget@v1

- name: setup-msbuild
uses: microsoft/[email protected]

- name: debug build
shell: pwsh
run: |
.\Build.ps1
- name: release build
shell: pwsh
run: |
.\Build.ps1 -Debug $false
# TODO: Don't use a fixed version here
# TODO: Move to a different workflow - We don't want a nuget package for every push to master/develop
- name: nuspec
shell: pwsh
run: |
nuget pack .\DotNetSDataClient.nuspec -properties version=2.1 -OutputDirectory dist\nuget
- name: store artifacts
uses: actions/upload-artifact@v2
with:
name: nuget
path: dist\nuget

32 changes: 0 additions & 32 deletions .github/workflows/dotnet.yml

This file was deleted.

0 comments on commit e288705

Please sign in to comment.