This commit is contained in:
Sahil Ahuja 2025-03-06 23:05:31 +05:30
parent 298c951b19
commit 5d6a43a007

View File

@ -21,10 +21,11 @@ jobs:
run: |
SHA=${{ github.sha }}; BRANCH_NAME=${{ github.base_ref || github.ref_name }};
BUILD_ID=$BRANCH_NAME-${SHA:0:8};
echo "REPO=${{ github.repository }}" >> $GITHUB_OUTPUT";
REPO=${{ github.repository }};
echo "REPO=$REPO" >> $GITHUB_OUTPUT";
echo "TAG=$BUILD_ID" >> "$GITHUB_OUTPUT";
- name: Print repo and build_id
- name: Print repo and tag
run: |
echo "REPO: ${{ steps.get-id.outputs.REPO }}";
echo "TAG: ${{ steps.get-id.outputs.TAG }}";