From 163d84781f3432e53f7f30b3ea6898633346e3aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Porto?= Date: Wed, 25 Dec 2024 16:57:09 -0300 Subject: [PATCH] ci: zip templates and upload the zip instead this prevents github release upload adding dots to replace spaces in filenames. also fix typo --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b974ea0..f064e98 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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 }}