Skip to content

Commit a2dbde8

Browse files
Update build.yml
1 parent da76753 commit a2dbde8

1 file changed

Lines changed: 6 additions & 24 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -31,29 +31,11 @@ jobs:
3131
- name: Build LabAPI
3232
run: msbuild RemoteKeycard.sln -p:Configuration=LabAPI
3333

34-
- name: Create Release
35-
uses: ncipollo/release-action@v1
34+
- name: Create Release with Dlls
35+
uses: softprops/action-gh-release@v2
3636
id: create_release
3737
with:
38-
generateReleaseNotes: true
39-
tag: ${{ github.ref_name }}
40-
41-
- name: Upload EXILED DLL
42-
env:
43-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44-
uses: actions/upload-release-asset@v1
45-
with:
46-
upload_url: ${{ steps.create_release.outputs.upload_url }}
47-
asset_path: RemoteKeycard\bin\EXILED\RemoteKeycard-EXILED.dll
48-
asset_name: RemoteKeycard-EXILED.dll
49-
asset_content_type: application/octet-stream
50-
51-
- name: Upload LabAPI DLL
52-
env:
53-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54-
uses: actions/upload-release-asset@v1
55-
with:
56-
upload_url: ${{ steps.create_release.outputs.upload_url }}
57-
asset_path: RemoteKeycard\bin\LabAPI\RemoteKeycard-LabAPI.dll
58-
asset_name: RemoteKeycard-LabAPI.dll
59-
asset_content_type: application/octet-stream
38+
generate_release_notes: true
39+
files: |
40+
RemoteKeycard/bin/EXILED/RemoteKeycard-EXILED.dll
41+
RemoteKeycard/bin/LabAPI/RemoteKeycard-LabAPI.dll

0 commit comments

Comments
 (0)