Skip to content

Commit

Permalink
add release action
Browse files Browse the repository at this point in the history
  • Loading branch information
driftregion committed Dec 12, 2023
1 parent acbc51b commit 4b16ef1
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout
- name: checkout
uses: actions/checkout@v3
with:
submodules: true

- name: build and run unit test
- name: run unit tests
run: bazel test //test:all --test_tag_filters=-vcan

- name: upload artifacts
Expand All @@ -27,3 +27,16 @@ jobs:
path: |
bazel-bin/iso14229.h
bazel-bin/iso14229.c
- name: release
uses: softprops/action-gh-release@v1
with:
files: |
bazel-bin/iso14229.h
bazel-bin/iso14229.c
tag_name: ${{ github.ref }}
body: ${{ github.event.head_commit.message }}
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4b16ef1

Please sign in to comment.