Skip to content

Commit 5730ec7

Browse files
committed
Fix deploy job
1 parent f118743 commit 5730ec7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/internal-ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,16 @@ jobs:
6868
if: github.event_name != 'pull_request'
6969
secrets: inherit
7070

71-
deploy-nuget:
71+
deploy:
7272
runs-on: ubuntu-22.04
73-
needs: [ test-plugin, test-plugin-nuget, test-plugin-legacy, test-assetbundle ]
73+
needs: [ build, test-plugin, test-plugin-nuget, test-plugin-legacy, test-assetbundle ]
7474
environment:
7575
name: "NuGet"
7676
url: "https://www.nuget.org/packages/KSPBuildTools"
7777
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
7878
steps:
79+
- uses: actions/checkout@v4
80+
7981
- name: Get Changelog Information
8082
uses: drewcassidy/[email protected]
8183
id: yaclog-show
@@ -109,7 +111,7 @@ jobs:
109111
run: >
110112
gh release create ${{ github.ref_name }}
111113
--notes-file "${{ steps.yaclog-show.outputs.body-file }}"
112-
--title "${{ steps.yaclog-show.outputs.name }}"
114+
--title "${{ needs.build.outputs.package-version }}"
113115
${{ env.NuGetDirectory }}/*.nupkg
114116
env:
115117
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)