diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b64d87..5e21c08 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,9 +24,12 @@ jobs: - name: Get current date id: current_date run: echo "::set-output name=date::$(echo $(date -u '+%m-%d'))" + - name: Get current date + id: current_run_id + run: echo "::set-output name=id::$(echo ${GITHUB_RUN_ID})" - name: Build tag id id: build_tag - run: echo "::set-output name=tag::$(echo 'paper-${{ steps.extract_branch_name.outputs.branch }}-${{ steps.current_date.outputs.date }}-r${GITHUB_RUN_ID}')" + run: echo "::set-output name=tag::$(echo 'paper-${{ steps.extract_branch_name.outputs.branch }}-${{ steps.current_date.outputs.date }}-r${{ steps.current_run_id.outputs.id }}')" - name: Verify generated tag run: echo "${{ steps.build_tag.outputs.tag }}" - name: Upload release assets