Skip to content

Commit aa63598

Browse files
Update build.yml
1 parent 7c58dc8 commit aa63598

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ jobs:
3939
tag: ${{ github.ref_name }}
4040

4141
- name: Upload EXILED DLL
42-
if: startsWith(github.ref, 'refs/tags/')
42+
env:
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4344
uses: actions/upload-release-asset@v1
4445
with:
4546
upload_url: ${{ steps.create_release.outputs.upload_url }}
@@ -48,7 +49,8 @@ jobs:
4849
asset_content_type: application/octet-stream
4950

5051
- name: Upload LabAPI DLL
51-
if: startsWith(github.ref, 'refs/tags/')
52+
env:
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5254
uses: actions/upload-release-asset@v1
5355
with:
5456
upload_url: ${{ steps.create_release.outputs.upload_url }}

0 commit comments

Comments
 (0)