Skip to content

Commit

Permalink
try 'gh release create'
Browse files Browse the repository at this point in the history
  • Loading branch information
driftregion committed Jan 21, 2024
1 parent 12af8fe commit 2b683ba
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ name: release

jobs:
build:
name: Create release
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- name: checkout
Expand All @@ -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 }}
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)"

0 comments on commit 2b683ba

Please sign in to comment.