diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f3b8ed5..baf15cc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,4 +54,15 @@ jobs: uses: actions/upload-artifact@v3 with: name: cpu-check-deb - path: build/*.deb \ No newline at end of file + path: build/*.deb + + - name: Upload to GitHub Release + if: github.event_name == 'push' && github.ref == 'refs/heads/master' + uses: softprops/action-gh-release@v1 + with: + files: build/*.deb + 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