Skip to content

Commit 86b9afb

Browse files
committed
ci: upload zipped releases
We will use the entire content of `Compiled\Data\` directory, in case we want to add future tests with file access of other files in the dir, like Vox packages.
1 parent 67b4765 commit 86b9afb

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,18 @@ jobs:
123123
path: "ags4/auto-test/Compiled/Windows/agstest-software.tap"
124124
if: always()
125125

126+
- name: Zip each auto-test
127+
run: |
128+
powershell Compress-Archive -Path ags3/auto-test/Compiled/Data/* -DestinationPath ags3-auto-test.zip
129+
powershell Compress-Archive -Path ags4/auto-test/Compiled/Data/* -DestinationPath ags4-auto-test.zip
130+
126131
- name: Create release and upload assets
127132
if: startsWith(github.ref, 'refs/tags/v')
128133
uses: ncipollo/release-action@v1
129134
with:
130135
artifacts: |
131-
ags3/auto-test/Compiled/Data/ags3-auto-test.ags
132-
ags4/auto-test/Compiled/Data/ags4-auto-test.ags
136+
ags3-auto-test.zip
137+
ags4-auto-test.zip
133138
allowUpdates: true
134139
omitBodyDuringUpdate: true
135140
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)