fix: update the output asset path #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Branch CI | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.ref }}' | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- main | |
- alpha | |
- '[0-9]\.[0-9]\.x' | |
- '[0-9]\.x\.x' | |
- '[0-9]\.x' | |
jobs: | |
tests: | |
uses: ./.github/workflows/_tests.yml | |
release-tagging: | |
runs-on: ubuntu-latest | |
needs: tests | |
permissions: | |
contents: write # Allow the job to write tags on the repo | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false # to avoid using GITHUB_TOKEN when pushing | |
# It's required to avoid using the GITHUB_TOKEN, because we want an action to run on the tags that will be pushed. | |
# By default, github actions does not run on events triggered by other actions | |
- name: Run semantic release | |
uses: cycjimmy/semantic-release-action@v4 | |
env: | |
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_PUSH_TOKEN }} | |
NPM_TOKEN: "" |