diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 97cfbcf..7d8c5b2 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -31,7 +31,18 @@ jobs: repository: HicServices/RDMP ref: develop path: RDMP - + - name: Get version + id: version + shell: cmd + run: | + perl getversions.pl + perl getversions.pl >> %GITHUB_OUTPUT% + - name: Fetch RDMP latest tag + run: | + cd RDMP + git fetch --unshallow --tags + git checkout v${{steps.version.outputs.rdmpversion}} + cd .. - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: