From e1c0dc43033acca9028a5b861cfb73dfab8de875 Mon Sep 17 00:00:00 2001 From: Dominic Pelini Date: Sat, 16 Nov 2024 07:00:11 -0700 Subject: [PATCH] Update dev-workflow-p2.yml --- .github/workflows/dev-workflow-p2.yml | 86 +++++++++++++-------------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/.github/workflows/dev-workflow-p2.yml b/.github/workflows/dev-workflow-p2.yml index 7427ec970..31a345b6b 100644 --- a/.github/workflows/dev-workflow-p2.yml +++ b/.github/workflows/dev-workflow-p2.yml @@ -1,43 +1,43 @@ -name: Dev workflow (part 2) - -on: - pull_request_target: - branches: - - 'dev*' - types: - - closed - workflow_dispatch: - -jobs: - bump-dev-number: - if: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true }} - uses: ./.github/workflows/bump-version.yml - with: - change: 'bump-dev-num' - secrets: inherit - - rebuild-artifacts-with-new-dev-num: - needs: bump-dev-number - name: Rebuild artifacts with new dev number - uses: ./.github/workflows/build-artifacts.yml - with: - # On pull_request_target, the bump version commit will be ignored - # So we must pass it manually to the workflow - sha-to-build-and-test: ${{ needs.bump-dev-number.outputs.bump_sha }} - secrets: inherit - - upload-to-jfrog: - name: Upload artifacts to JFrog - needs: [ - bump-dev-number, - rebuild-artifacts-with-new-dev-num - ] - uses: ./.github/workflows/upload-to-jfrog.yml - with: - version: ${{ needs.bump-dev-number.outputs.new_version }} - secrets: inherit - - # We don't want the artifacts in JFrog to also exist in Github - delete-artifacts: - needs: upload-to-jfrog - uses: ./.github/workflows/delete-artifacts.yml +#name: Dev workflow (part 2) +# +#on: +# pull_request_target: +# branches: +# - 'dev*' +# types: +# - closed +# workflow_dispatch: +# +#jobs: +# bump-dev-number: +# if: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true }} +# uses: ./.github/workflows/bump-version.yml +# with: +# change: 'bump-dev-num' +# secrets: inherit +# +# rebuild-artifacts-with-new-dev-num: +# needs: bump-dev-number +# name: Rebuild artifacts with new dev number +# uses: ./.github/workflows/build-artifacts.yml +# with: +# # On pull_request_target, the bump version commit will be ignored +# # So we must pass it manually to the workflow +# sha-to-build-and-test: ${{ needs.bump-dev-number.outputs.bump_sha }} +# secrets: inherit +# +# upload-to-jfrog: +# name: Upload artifacts to JFrog +# needs: [ +# bump-dev-number, +# rebuild-artifacts-with-new-dev-num +# ] +# uses: ./.github/workflows/upload-to-jfrog.yml +# with: +# version: ${{ needs.bump-dev-number.outputs.new_version }} +# secrets: inherit +# +# # We don't want the artifacts in JFrog to also exist in Github +# delete-artifacts: +# needs: upload-to-jfrog +# uses: ./.github/workflows/delete-artifacts.yml