Skip to content

Commit 5e00b19

Browse files
committed
Also push to forgejo package repository
1 parent f499ed2 commit 5e00b19

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/internal-ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,18 @@ jobs:
112112
run: |
113113
dotnet nuget push --source "github" ${{ env.NuGetDirectory }}/*.nupkg
114114
115+
- name: Publish Package to Forgejo
116+
run: >
117+
dotnet nuget push ${{ env.NuGetDirectory }}/*.nupkg
118+
--api-key ${{ secrets.FORGEJO_DEPLOY_TOKEN }}
119+
--source https://git.offworldcolonies.nexus/api/packages/KSPModdingLibs/nuget/index.json
120+
115121
- name: Publish to Github Releases
116122
run: >
117123
gh release create ${{ github.ref_name }}
118124
--notes-file "${{ steps.yaclog-show.outputs.body-file }}"
119125
--title "${{ needs.build.outputs.package-version }}"
120126
${{ env.NuGetDirectory }}/*.nupkg
121127
env:
122-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
128+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
129+

0 commit comments

Comments
 (0)