added auto-release job

This commit is contained in:
A_D committed 2021-08-03 15:10:08 +02:00
1 parent 8f31c589e9
commit 2030fd5fc6
1 file changed
+24
+24
View File
@@ -42,3 +42,27 @@ jobs:
with:
name: Built files
path: EDMarketConnector_win*.msi
release:
name: Release new version
runs-on: ubuntu-latest
needs: test
steps:
- name: Download binary
uses: actions/download-artifact@v2
with:
name: Built files
path: ./
- name: Hash files
run: sha256sum EDMarketConnector_win*.msi > ./hashes.sum
- name: Create Draft Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{secrets.GITHUB_TOKEN}}"
draft: true
files: |
./EDMarketConnector_win*.msi
./hashes.sum