Skip to content

Commit 8693e2f

Browse files
committed
Push to CI feed
1 parent 81ffb7c commit 8693e2f

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

.github/workflows/package.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,30 @@ jobs:
151151
name: Signed
152152
path: |
153153
${{ github.workspace }}\unsigned\*.snupkg
154-
${{ github.workspace }}\unsigned\raw\*.nupkg
154+
${{ github.workspace }}\unsigned\raw\*.nupkg
155+
CI:
156+
name: "Push to CI feed"
157+
needs: [pack]
158+
runs-on: ubuntu-latest
159+
steps:
160+
- name: Install .NET Core
161+
uses: actions/setup-dotnet@v3
162+
- name: Download Packages
163+
uses: actions/download-artifact@v3
164+
with:
165+
name: Unsigned
166+
path: '${{ github.workspace }}/packages'
167+
- name: Push to CI feed
168+
env:
169+
SLEET_FEED_TYPE: azure
170+
SLEET_FEED_CONTAINER: feed
171+
SLEET_FEED_CONNECTIONSTRING: ${{secrets.SLEET_CONNECTIONSTRING}}
172+
run: |
173+
cd $GITHUB_WORKSPACE/packages
174+
dotnet tool install -g sleet
175+
sleet push . --skip-existing
176+
177+
155178
releaseInfo:
156179
name: Release Info
157180
runs-on: windows-latest

0 commit comments

Comments
 (0)