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