Skip to content

Commit

Permalink
CI/CD: Fixing the cleanup step failure for 2024.1 branch (#8329)
Browse files Browse the repository at this point in the history
* adding release input to setenv composite action

* fix the version number for cleanup

* Adding release variable for 2024.1
  • Loading branch information
manikandan-xilinx authored Aug 4, 2024
1 parent 8f59e6b commit 390bb02
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/xrt_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,8 @@ jobs:
uses: ./composite-workflows/gradle-artifactory-upload
with:
runNumber: ${{ env.XRT_VERSION_PATCH }}
pipeline: ${{ env.PIPELINE }}
pipeline: ${{ env.PIPELINE }}
release: ${{ env.RELEASE }}
env: ${{ env.ENV }}
workspace: ${{ github.workspace }}
buildNumber: ${{ env.XRT_VERSION_PATCH }}
Expand All @@ -610,6 +611,14 @@ jobs:
needs: [Release_to_all_sites, gradle-artifactory-upload]
runs-on: [self-hosted, Ubuntu-22.04]
steps:

- name: Set env variables
run: |
echo "Setting environment variables..."
# echo "XRT_VERSION_PATCH=${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV
echo "XRT_VERSION_PATCH=$(($GITHUB_RUN_NUMBER+210))" >> $GITHUB_ENV
echo "PATH=/usr/bin:$PATH" >> $GITHUB_ENV
- name: Checkout private repository
uses: actions/checkout@v3
with:
Expand All @@ -622,7 +631,7 @@ jobs:
- name: Use composite action package download
uses: ./composite-workflows/cleanup
with:
runNumber: ${{ github.run_number }}
runNumber: ${{ env.XRT_VERSION_PATCH }}
pipeline: ${{ env.PIPELINE }}
env: ${{ env.ENV }}
release: ${{ env.RELEASE }}
Expand Down

0 comments on commit 390bb02

Please sign in to comment.