Skip to content

Commit

Permalink
ci: split this out into a postrelease job instead
Browse files Browse the repository at this point in the history
  • Loading branch information
kanadgupta committed Dec 11, 2024
1 parent f1c44e2 commit 301c36d
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,19 @@ jobs:
github_token: ${{ secrets.RELEASE_GH_TOKEN }}
branch: next

# quick assertion to validate that rdme CLI can be installed and run on ubuntu
# quick assertion to validate that rdme CLI can be installed and run on ubuntu
postrelease:
name: Post-release checks
needs: release
runs-on: ubuntu-latest
if: ${{ github.ref }} == 'refs/heads/next'
steps:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install `rdme` from npm
if: ${{ github.ref }} == 'refs/heads/next'
run: npm install -g rdme@next
- name: Print rdme CLI version
if: ${{ github.ref }} == 'refs/heads/next'
run: rdme --version
timeout-minutes: 1

0 comments on commit 301c36d

Please sign in to comment.