Change rive-react-* references to be the shortened namespace-named convention

This commit is contained in:
Zach Plata
2022-04-18 14:48:30 -07:00
committed by Zachary Plata
parent 9398e0d74e
commit 4429be44f2
7 changed files with 38 additions and 22 deletions

View File

@@ -5,9 +5,31 @@ on:
branches:
- main
jobs:
determine_version:
name: Determine the next build version
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
outputs:
version: ${{ steps.echo_version.outputs.version }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: npm ci
working-directory: ./
- id: determine_version
name: Get Version
run: npm run release -- --ci --release-version | tail -n 1 > RELEASE_VERSION
working-directory: ./
env:
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}
- id: echo_version
run: echo "::set-output name=version::$(cat ./RELEASE_VERSION)"
merge_job:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
needs: [determine_version]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
@@ -33,4 +55,4 @@ jobs:
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}
run: npm run release
run: npm run release -- --ci