oops forgot this

This commit is contained in:
Jack Baron 2020-10-19 14:19:02 +01:00
parent addf3e858f
commit 6651df67ee
No known key found for this signature in database
GPG key ID: CD10BCEEC646C064

View file

@ -19,11 +19,11 @@ jobs:
find "ModAssistant/bin/Release" -type f ! -name "ModAssistant.exe" -delete
cp "LICENSE" "ModAssistant/bin/Release/LICENSE.ModAssistant.txt"
- name: Upload Build
if: contains(github.ref, 'refs/tags/') == false
uses: actions/upload-artifact@v1
if: startsWith(github.ref, 'refs/tags/') == false
uses: actions/upload-artifact@v2
with:
name: ModAssistant-${{ github.sha }}
path: ./ModAssistant/bin/Release
path: ./ModAssistant/bin/Release/
- name: Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1