Skip to content

Commit

Permalink
ci: Adds semantic release job
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Hui committed Feb 9, 2024
1 parent 208ab6f commit 42b4a70
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,25 @@ jobs:
path: |
${{ steps.compile.outputs.firmware-path }}
${{ steps.compile.outputs.target-path }}
release:
needs: [compile]
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
if: ${{ github.ref == 'refs/heads/37-feat-semver' }}
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
ref: master

- name: Set up NPM
uses: actions/setup-node@v4

- name: Set up Semantic Release
run: |
npm install --save-dev semantic-release

0 comments on commit 42b4a70

Please sign in to comment.