Skip to content

Commit c3c64dc

Browse files
authored
Merge pull request #6 from paddy-exe/fix-ci
Fix CI release
2 parents 2582e21 + b5d3a98 commit c3c64dc

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/release.yml

+2-10
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,18 @@ jobs:
1717
run: |
1818
mv LICENSE.md README.md ${{ github.workspace }}/addons/ShaderFunction-Extras
1919
20-
- name: Archive Release
21-
uses: thedoctor0/zip-release@0.7.1
22-
with:
23-
type: 'zip'
24-
filename: 'ShaderFunction-Extras.zip'
25-
path: '${{ github.workspace }}/addons/'
26-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
27-
2820
- name: Upload artifact
2921
uses: actions/upload-artifact@v3
3022
with:
3123
name: ${{ github.event.repository.name }}
3224
path: |
33-
${{ github.workspace }}/ShaderFunction-Extras.zip
25+
${{ github.workspace }}/addons/ShaderFunction-Extras/*
3426
3527
- name: Create and upload asset
3628
uses: ncipollo/release-action@v1
3729
with:
3830
allowUpdates: true
39-
artifacts: "ShaderFunction.zip"
31+
artifacts: "ShaderFunction-Extras.zip"
4032
omitNameDuringUpdate: true
4133
omitBodyDuringUpdate: true
4234
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)