Skip to content

Commit 7779096

Browse files
committed
Revert "ubuntu-latest"
This reverts commit a392684. # Conflicts: # .github/workflows/publish-artifact-flow.yml
1 parent a4d1fc1 commit 7779096

2 files changed

Lines changed: 30 additions & 80 deletions

File tree

‎.github/workflows/continuous-deployment-flow.yml‎

Lines changed: 0 additions & 80 deletions
This file was deleted.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Deploy package to GitHub feed
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
artifact-name:
7+
description: 'A name to be used to publish artifact'
8+
default: 'Package'
9+
required: false
10+
type: string
11+
12+
jobs:
13+
14+
build:
15+
runs-on: ubuntu-latest
16+
env:
17+
DOTNET_NOLOGO: '1'
18+
DOTNET_CLI_TELEMETRY_OPTOUT: '1'
19+
20+
steps:
21+
- name: Download artifact
22+
uses: actions/download-artifact@v3
23+
with:
24+
name: '${{ inputs.artifact-name }}'
25+
path: artifact
26+
27+
- name: Publish Package
28+
run: |
29+
dotnet nuget add source "https://nuget.pkg.github.com/unitycontainer/index.json" -n github -u unitycontainer -p ${{secrets.GITHUB_TOKEN}} --store-password-in-clear-text
30+
dotnet nuget push 'artifact\*' --skip-duplicate --source github

0 commit comments

Comments
 (0)