Browse Source

fix(workflows): incorrect job name

pull/5903/head
Wing-Kam Wong 1 year ago
parent
commit
051ee5d4be
  1. 10
      .github/workflows/release-nightly-dev.yml
  2. 8
      .github/workflows/release-nocodb.yml
  3. 10
      .github/workflows/release-pr.yml

10
.github/workflows/release-nightly-dev.yml

@ -43,10 +43,10 @@ jobs:
nightly_build_tag: ${{ steps.tag-step.outputs.NIGHTLY_BUILD_TAG }} nightly_build_tag: ${{ steps.tag-step.outputs.NIGHTLY_BUILD_TAG }}
is_daily: ${{ steps.tag-step.outputs.IS_DAILY }} is_daily: ${{ steps.tag-step.outputs.IS_DAILY }}
current_version: ${{ steps.tag-step.outputs.CURRENT_VERSION }} current_version: ${{ steps.tag-step.outputs.CURRENT_VERSION }}
# Build frontend and backend and publish to pnpm # Build frontend and backend and publish to npm
release-pnpm: release-npm:
needs: set-tag needs: set-tag
uses: ./.github/workflows/release-pnpm.yml uses: ./.github/workflows/release-npm.yml
with: with:
tag: ${{ needs.set-tag.outputs.nightly_build_tag }} tag: ${{ needs.set-tag.outputs.nightly_build_tag }}
targetEnv: 'DEV' targetEnv: 'DEV'
@ -55,7 +55,7 @@ jobs:
# Build executables and publish to GitHub # Build executables and publish to GitHub
release-executables: release-executables:
needs: [set-tag, release-pnpm] needs: [set-tag, release-npm]
uses: ./.github/workflows/release-timely-executables.yml uses: ./.github/workflows/release-timely-executables.yml
with: with:
tag: ${{ needs.set-tag.outputs.current_version }}-${{ needs.set-tag.outputs.nightly_build_tag }} tag: ${{ needs.set-tag.outputs.current_version }}-${{ needs.set-tag.outputs.nightly_build_tag }}
@ -64,7 +64,7 @@ jobs:
# Build docker image and push to docker hub # Build docker image and push to docker hub
release-docker: release-docker:
needs: [set-tag, release-pnpm] needs: [set-tag, release-npm]
uses: ./.github/workflows/release-docker.yml uses: ./.github/workflows/release-docker.yml
with: with:
currentVersion: ${{ needs.set-tag.outputs.current_version }} currentVersion: ${{ needs.set-tag.outputs.current_version }}

8
.github/workflows/release-nocodb.yml

@ -60,10 +60,10 @@ jobs:
tag: ${{ needs.process-input.outputs.target_tag }} tag: ${{ needs.process-input.outputs.target_tag }}
targetEnv: ${{ github.event.inputs.targetEnv || 'PROD' }} targetEnv: ${{ github.event.inputs.targetEnv || 'PROD' }}
# Build, install, publish frontend and backend to pnpm # Build, install, publish frontend and backend to npm
release-pnpm: release-npm:
needs: [pr-to-master, process-input] needs: [pr-to-master, process-input]
uses: ./.github/workflows/release-pnpm.yml uses: ./.github/workflows/release-npm.yml
with: with:
tag: ${{ needs.process-input.outputs.target_tag }} tag: ${{ needs.process-input.outputs.target_tag }}
targetEnv: ${{ github.event.inputs.targetEnv || 'PROD' }} targetEnv: ${{ github.event.inputs.targetEnv || 'PROD' }}
@ -72,7 +72,7 @@ jobs:
# Draft Release Note # Draft Release Note
release-draft-note: release-draft-note:
needs: [release-pnpm, process-input] needs: [release-npm, process-input]
uses: ./.github/workflows/release-draft.yml uses: ./.github/workflows/release-draft.yml
with: with:
tag: ${{ needs.process-input.outputs.target_tag }} tag: ${{ needs.process-input.outputs.target_tag }}

10
.github/workflows/release-pr.yml

@ -46,11 +46,11 @@ jobs:
target_tag: ${{ steps.tag-step.outputs.TARGET_TAG }} target_tag: ${{ steps.tag-step.outputs.TARGET_TAG }}
current_version: ${{ steps.tag-step.outputs.CURRENT_VERSION }} current_version: ${{ steps.tag-step.outputs.CURRENT_VERSION }}
# Build, install, publish frontend and backend to pnpm # Build, install, publish frontend and backend to npm
release-pnpm: release-npm:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false && github.base_ref == 'develop' && github.event.action != 'closed' }} if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false && github.base_ref == 'develop' && github.event.action != 'closed' }}
needs: [set-tag] needs: [set-tag]
uses: ./.github/workflows/release-pnpm.yml uses: ./.github/workflows/release-npm.yml
with: with:
tag: ${{ needs.set-tag.outputs.target_tag }} tag: ${{ needs.set-tag.outputs.target_tag }}
targetEnv: 'DEV' targetEnv: 'DEV'
@ -60,7 +60,7 @@ jobs:
# Build docker image and push to docker hub # Build docker image and push to docker hub
release-docker: release-docker:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false && github.base_ref == 'develop' && github.event.action != 'closed' }} if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false && github.base_ref == 'develop' && github.event.action != 'closed' }}
needs: [release-pnpm, set-tag] needs: [release-npm, set-tag]
uses: ./.github/workflows/release-docker.yml uses: ./.github/workflows/release-docker.yml
with: with:
currentVersion: ${{ needs.set-tag.outputs.current_version }} currentVersion: ${{ needs.set-tag.outputs.current_version }}
@ -74,7 +74,7 @@ jobs:
# Build executables and publish to GitHub # Build executables and publish to GitHub
# release-executables: # release-executables:
# if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false && github.base_ref == 'develop' && github.event.action != 'closed' }} # if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false && github.base_ref == 'develop' && github.event.action != 'closed' }}
# needs: [set-tag, release-pnpm] # needs: [set-tag, release-npm]
# uses: ./.github/workflows/release-timely-executables.yml # uses: ./.github/workflows/release-timely-executables.yml
# with: # with:
# tag: ${{ needs.set-tag.outputs.current_version }}-${{ needs.set-tag.outputs.target_tag }} # tag: ${{ needs.set-tag.outputs.current_version }}-${{ needs.set-tag.outputs.target_tag }}

Loading…
Cancel
Save