diff --git a/.github/workflows/veracode-build.yml b/.github/workflows/veracode-build.yml index 12b567a813..5da05c98f3 100644 --- a/.github/workflows/veracode-build.yml +++ b/.github/workflows/veracode-build.yml @@ -58,11 +58,14 @@ jobs: steps: - - name: Determine latest tag - id: latest_tag + - name: Set env + run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + + - name: Test run: | - echo "::set-output name=TAG::$(git describe --tags `git rev-list --tags --max-count=1`)" - echo nuxeo-web-ui-${{ steps.latest_tag.outputs.TAG }}.zip + echo $RELEASE_VERSION + echo ${{ env.RELEASE_VERSION }} + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it and copies all sources into ZIP file for submitting for analysis. Replace this section with your applications build steps - uses: actions/checkout@v2 with: