Skip to content

Commit 70073fe

Browse files
author
Harry
committed
fix release workflow
1 parent 42d1af9 commit 70073fe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ on:
44
workflow_dispatch:
55

66
jobs:
7+
test:
8+
uses: ./.github/workflows/test.yml
79
package:
10+
needs: test
811
uses: ./.github/workflows/package.yml
912
release:
1013
needs: package
@@ -21,7 +24,7 @@ jobs:
2124
repo_token: "${{ secrets.GITHUB_TOKEN }}"
2225
prerelease: ${{ needs.package.outputs.PrereleaseVersion != '' }}
2326
title: Release ${{ needs.package.outputs.NuGetPackageVersion }}
24-
automatic_release_tag: ${{ needs.nbgv.outputs.NuGetPackageVersion }}
27+
automatic_release_tag: ${{ needs.package.outputs.NuGetPackageVersion }}
2528
files: |
2629
./out/*
2730
- name: Push to Nuget.org

0 commit comments

Comments
 (0)