diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index baf15cc..f5fede9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,12 +57,11 @@ jobs: path: build/*.deb - name: Upload to GitHub Release - if: github.event_name == 'push' && github.ref == 'refs/heads/master' - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: - files: build/*.deb + token: ${{ secrets.GITHUB_TOKEN }} tag_name: v1.0.0 name: Release v1.0.0 - generate_release_notes: true - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + files: build/*.deb + draft: true + prerelease: true \ No newline at end of file