Skip to content

Commit

Permalink
Do not duplicate workflows
Browse files Browse the repository at this point in the history
Signed-off-by: cicdguy <26552821+cicdguy@users.noreply.github.com>
  • Loading branch information
cicdguy authored Feb 22, 2024
1 parent f54ed6f commit bc1a100
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,13 @@ name: Release 🎈

on:
push:
branches:
- cicdguy-patch-1
tags:
- "v*"
workflow_dispatch:

jobs:
build:
name: Build package 🎁
needs: release
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
skip-r-cmd-check: true
skip-r-cmd-install: true
docs:
name: Pkgdown Docs 📚
needs: release
Expand All @@ -36,8 +29,8 @@ jobs:
uses: insightsengineering/r.pkg.template/.github/workflows/release.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
r-cmd:
name: R CMD Check 🧬
build:
name: Build package and reports 🎁
needs: [release, docs]
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main
secrets:
Expand Down

0 comments on commit bc1a100

Please sign in to comment.