Skip to content

Commit

Permalink
Alright, donno whats going on. Try a workaround by adding an addition…
Browse files Browse the repository at this point in the history
…al step just for the damn run-id
  • Loading branch information
AndreG-P authored and physikerwelt committed Dec 8, 2020
1 parent 9da9c90 commit 513c0d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 513c0d8

Please sign in to comment.