Skip to content

Commit a082c53

Browse files
committed
Update Build Action Seconds
- Update seconds to use seconds variable.
1 parent ab0133c commit a082c53

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,15 @@ jobs:
2727
- name: Get current date
2828
id: date
2929
run: echo "::set-output name=date::$(date +'%Y%m%d')"
30+
- name: Get time in seconds
31+
id: seconds
32+
run: echo "::set-output name=seconds::$(date +'%s')"
3033
- name: Push build commit
3134
run: |
3235
cd clone_dir
3336
git config user.name github-actions
3437
git config user.email github-actions@github.com
3538
git add *
36-
git commit -m "Build Minimal ${{ steps.date.outputs.date }} (${{ $EPOCHSECONDS }})"
39+
git commit -m "Build Minimal ${{ steps.date.outputs.date }} (${{ steps.seconds.outputs.seconds }})"
3740
git pull --rebase
3841
git push

0 commit comments

Comments
 (0)