Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Xu Yang <[email protected]>
  • Loading branch information
JasonYangShadow committed Feb 15, 2024
1 parent 978dc37 commit 874e74e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/generate/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ runs:
steps:
- name: Extract current branch tag
run: |
echo "TAG=origin/${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
echo "TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
shell: bash

- name: Extract last 24 hours commits info
id: commits
run: |
echo "raw=`git reflog ${{ env.TAG }} --since="24 hours ago"`" >> $GITHUB_OUTPUT
echo "commits=`git log ${{ env.TAG }} --pretty --since="24 hours ago" | jq --raw-input . | jq --slurp . | jq -c .`" >> $GITHUB_OUTPUT
echo "raw=`git reflog origin/${{ env.TAG }} --since="24 hours ago"`" >> $GITHUB_OUTPUT
echo "commits=`git log origin/${{ env.TAG }} --pretty --since="24 hours ago" | jq --raw-input . | jq --slurp . | jq -c .`" >> $GITHUB_OUTPUT
shell: bash

- name: Whether should continue
Expand Down

0 comments on commit 874e74e

Please sign in to comment.