Skip to content

Update build-and-deploy.yml #2

Update build-and-deploy.yml

Update build-and-deploy.yml #2

name: Build and Deploy
on:
workflow_dispatch:
push:
pull_request:
types: [opened, reopened, labeled]
schedule:
- cron: 0 3 * * 1
jobs:
release:
uses: ClouDesire/github-workflows/.github/workflows/release-reusable.yml@07f23e03636adf443146c6131ab4c33af734686c

Check failure on line 11 in .github/workflows/build-and-deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-and-deploy.yml

Invalid workflow file

error parsing called workflow ".github/workflows/build-and-deploy.yml" -> "ClouDesire/github-workflows/.github/workflows/release-reusable.yml@07f23e03636adf443146c6131ab4c33af734686c" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
if: github.ref_name == 'master' || github.ref_name == 'main'
with:
release-type: maven
build:
uses: ClouDesire/github-workflows/.github/workflows/java-build-and-unit.yml@07f23e03636adf443146c6131ab4c33af734686c
with:
deploy: github.ref_name == 'master' || github.ref_name == 'main'
secrets:
GH_PAT: ${{ secrets.BOT_GH_TOKEN }}
NEXUS_USER: ${{ secrets.NEXUS_USER }}
NEXUS_PWD: ${{ secrets.NEXUS_PWD }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
needs: release