Skip to content

Update Last Commit File #187

Update Last Commit File

Update Last Commit File #187

name: Last Commit Action
run-name: Update Last Commit File
on:
push:
branches:
- main
paths:
- '**.cs'
- '**.csproj'
- '**.sln'
- '**.json'
- '**.resx'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
echo ${{ github.event.head_commit.timestamp}} > LastCommit.txt
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "Auto updating LastCommit.txt"
git push