Skip to content

Commit 326b2b4

Browse files
authored
Update publish.yml
1 parent 442a9b3 commit 326b2b4

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/publish.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,17 @@ jobs:
3030
name: packaged
3131
path: packaged
3232

33-
- name: Test
34-
run: |
35-
echo "Attempts"
36-
echo "1 $RELEASE_VERSION"
33+
- name: Create github release and git tag for release
34+
id: create_release
35+
uses: actions/create-release@v1
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
with:
39+
release_name: $RELEASE_VERSION
40+
tag_name: v$RELEASE_VERSION
41+
draft: false
42+
prerelease: false
43+
44+
- name: Push to Nuget
45+
run: dotnet nuget push packaged/stevekirks.SqlBulkCopyMerge.$RELEASE_VERSION.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
46+

0 commit comments

Comments
 (0)