diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4b8e3ff..a503f90 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -27,4 +27,17 @@ jobs: - name: Run Cargo Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Required for tagging and pushing - run: cargo release --execute \ No newline at end of file + run: cargo release --execute + + - name: Build DLL + run: cargo build --release + + - name: Create GitHub Release + uses: ncipollo/release-action@v1 + with: + artifacts: target/release/*.dll + tag: ${{ github.ref_name }} # Uses the tag created by `cargo release` + name: Release ${{ github.ref_name }} + body: | + This release was automatically created using cargo-release and GitHub Actions. + token: ${{ secrets.GITHUB_TOKEN }}