-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e499b09
commit 605d60e
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,18 +34,20 @@ jobs: | |
uses: drewcassidy/[email protected] | ||
with: | ||
mod-name: Shabby | ||
output-path: GameData/shabby-version.cfg | ||
output-path: GameData/Shabby/shabby-version.cfg | ||
|
||
- uses: KSPModdingLibs/KSPBuildTools/.github/actions/[email protected] | ||
with: | ||
output-file-name: 'Shabby-${{ steps.yaclog-show.outputs.version}}' | ||
|
||
- name: Publish to Github | ||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | ||
run: > | ||
gh release create ${{ github.ref_name }} | ||
--notes-file "${{ steps.yaclog-show.outputs.body-file }}" | ||
--title "${{ steps.yaclog-show.outputs.name }}" | ||
Shabby-*.zip \ | ||
Shabby-Release/GameData/Shabby/Shabby.version | ||
Shabby*.zip | ||
GameData/Shabby/Shabby.version | ||
# We publish both the mod AND the version file, that way there's always a static latest version file to compare against | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |