Skip to content

Commit

Permalink
ci fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
drewcassidy committed Sep 9, 2024
1 parent e499b09 commit 605d60e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 605d60e

Please sign in to comment.