From 2b683bae44d2bffbc3d53058c61e2bf313a9d23f Mon Sep 17 00:00:00 2001 From: Nick James Kirkby <20824939+driftregion@users.noreply.github.com> Date: Sun, 21 Jan 2024 10:55:27 -0700 Subject: [PATCH] try 'gh release create' --- .github/workflows/release.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ac11b00..3295f08 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,11 +6,6 @@ name: release jobs: build: - name: Create release - runs-on: ubuntu-latest - - permissions: - contents: write steps: - name: checkout @@ -19,10 +14,11 @@ jobs: - name: build release run: bazel build //:release - - name: upload release - uses: softprops/action-gh-release@v1 - with: - name: iso14229 ${{ github.ref_name }} - files: bazel-bin/iso14229.zip + - name: Release env: - GITHUB_TOKEN: ${{ secrets.TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.TOKEN }} + run: >- + gh release create ${{ github.ref_name }} + "bazel-bin/iso14229.zip#" + --generate-notes + --title "Version ${{ github.ref_name }} (or some other name)"