Skip to content

Commit

Permalink
feat(action): add update time
Browse files Browse the repository at this point in the history
  • Loading branch information
JinnLynn committed Jun 17, 2024
1 parent 4520be0 commit fba24f4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cook-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ jobs:
with:
python-version: '3.12'
- name: fire
id: fire
run: |
pip install ./work/ && \
mkdir -p ./tmp &&
cd ./tmp && \
genpac --config=../work/example/config.ini && \
ls -alhR ./
ls -alhR ./ && \
echo "gen_time=$(date -Iseconds)" >>$GITHUB_OUTPUT
- name: Checkout Branch cooked
uses: actions/checkout@v4
with:
Expand All @@ -42,6 +44,6 @@ jobs:
uses: stefanzweifel/git-auto-commit-action@v5
with:
repository: ./cooked
commit_message: update
commit_message: update ${{ steps.fire.outputs.gen_time }}
add_options: '-A'
push_options: '--force'

0 comments on commit fba24f4

Please sign in to comment.