Skip to content

Commit

Permalink
Update gen_CV.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfiex authored Nov 15, 2023
1 parent e6e09f6 commit 284c6e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/gen_CV.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,21 +80,22 @@ jobs:
echo "COMMITS=hello" >> $GITHUB_OUTPUT
echo "${{git rev-parse HEAD}}i"
echo "commit=${{git rev-parse HEAD}}" >> $GITHUB_ENV
shell: bash
continue-on-error: true

- name: Get latest tag for current branch
id: repo_tag
run: |
echo "${{git describe --tags --abbrev=0 }}"
shell: bash
continue-on-error: true

- name: Get latest commit date
id: latest_commit
run: |
echo "${{git log -1 --format='%at' | xargs -I{} date -r {} '+%Y/%m/%d_%H:%M:%S'}}"
shell: bash
continue-on-error: true
# envvar steps.latest_commit.outputs.commit_date
# stdout steps.latest_commit.outputs.stdout

Expand Down

0 comments on commit 284c6e6

Please sign in to comment.