From 33e4e020bacb5cc660a4bdf6f2985139e7ed66f5 Mon Sep 17 00:00:00 2001 From: Aabishkar KC Date: Tue, 11 Jun 2024 16:58:57 -0400 Subject: [PATCH] DYN-7070 Merge check file version workflow into build workflow --- .github/workflows/build_dynamo_all.yml | 2 ++ .github/workflows/check_file_version.yml | 30 ------------------------ 2 files changed, 2 insertions(+), 30 deletions(-) delete mode 100644 .github/workflows/check_file_version.yml diff --git a/.github/workflows/build_dynamo_all.yml b/.github/workflows/build_dynamo_all.yml index 3100215e2fe..0cfdd683201 100644 --- a/.github/workflows/build_dynamo_all.yml +++ b/.github/workflows/build_dynamo_all.yml @@ -39,6 +39,8 @@ jobs: } else { Write-Error "DynamoCLI.exe was not found!" } + - name: Check File Version + run: ${{ github.workspace }}\.github\scripts\check_file_version.ps1 ${{ github.workspace }}\Dynamo\bin\AnyCPU\Release - name: Upload Build Artifact uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/check_file_version.yml b/.github/workflows/check_file_version.yml deleted file mode 100644 index 0664c75a4cb..00000000000 --- a/.github/workflows/check_file_version.yml +++ /dev/null @@ -1,30 +0,0 @@ -# Runs on completion of "Build DynamoAll.sln net8.0" workflow -# -# - Checks file version of exes and dlls -# - Fails if any file is missing version information -# - Fails if any Dynamo related files have incorrect version information -name: Check file version - -on: - workflow_run: - workflows: - - Build DynamoAll.sln net8.0 - types: - - completed - -jobs: - check_file_version: - name: Check file version - runs-on: windows-latest - steps: - - name: Checkout - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 - - name: Download build artifact - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 - with: - github-token: ${{ secrets.DYNAMO_ACTIONS_TOKEN }} - run-id: ${{ github.event.workflow_run.id }} - name: DynamoSandbox - path: build - - name: Check file version - run: ${{ github.workspace }}\.github\scripts\check_file_version.ps1 ${{ github.workspace }}\build