diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index e230d6dd..83339013 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -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