Skip to content

Commit 141469a

Browse files
Merge pull request #185 from tannergooding/main
Adding a nightly nuget feed and a link to the source browser
2 parents b4c5c40 + db927dc commit 141469a

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,22 @@ jobs:
124124
./artifacts/pkg/**/*
125125
./artifacts/tst/**/*
126126
if-no-files-found: error
127+
publish-nightlies-azure:
128+
runs-on: ubuntu-latest
129+
if: ${{ github.event_name == 'push' }}
130+
needs: [ windows-x64, windows-x86, linux-x64, macos-x64, build-nuget-preview ]
131+
steps:
132+
- uses: actions/download-artifact@v2
133+
with:
134+
name: windows_release_x64
135+
path: ./artifacts
136+
- uses: actions/setup-dotnet@v1
137+
with:
138+
dotnet-version: '6.0.x'
139+
source-url: https://pkgs.clangsharp.dev/index.json
140+
env:
141+
NUGET_AUTH_TOKEN: ${{ secrets.AZURE_DEVOPS_PAT }}
142+
- run: dotnet nuget push "./artifacts/pkg/Release/*.nupkg" --api-key AzureDevOps --skip-duplicate
127143
publish-nightlies-github:
128144
runs-on: ubuntu-latest
129145
if: false

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ A nuget package for the project is provided here: https://www.nuget.org/packages
88

99
A convenience package which provides the native libLLVM library for several platforms is provided here: https://www.nuget.org/packages/libLLVM
1010

11-
NOTE: These may be out of date as compared to the latest sources. New versions are published as appropriate and a nightly feed is not currently available.
11+
Nightly packages are available via the NuGet Feed URL: https://pkgs.terrafx.dev/index.json
12+
13+
Source browsing is available via: https://source.clangsharp.dev/
1214

1315
## Table of Contents
1416

0 commit comments

Comments
 (0)