Skip to content

Commit

Permalink
ci: zip templates and upload the zip instead
Browse files Browse the repository at this point in the history
this prevents github release upload adding dots to replace spaces in filenames.

also fix typo
  • Loading branch information
ericoporto committed Dec 25, 2024
1 parent 1764720 commit 163d847
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
Tumbleweed/Compiled/*/*
Verb Coin/Compiled/*/*
- name: Create Templat Build dir
- name: Create Templates Build dir
run: mkdir build

- name: Package BASS as Template
Expand Down Expand Up @@ -81,11 +81,15 @@ jobs:
path: |
build/*.agt
- name: Zip Templates
run: |
powershell Compress-Archive -Path build/*.agt -DestinationPath build/templates.zip
- name: Create release and upload assets
if: startsWith(github.ref, 'refs/tags/v')
uses: ncipollo/release-action@v1
with:
artifacts: build/*.agt
artifacts: build/templates.zip
allowUpdates: true
omitBodyDuringUpdate: true
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 163d847

Please sign in to comment.