[gpr] Replace a call to localtime with a call to absl::FormatTime. #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: EXPERIMENTAL -- Update artifacts branch | |
on: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: write | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: master | |
fetch-depth: 0 | |
- name: Setup git user | |
run: | | |
git config --global user.name "GitHub Actions" | |
git config --global user.email "<EMAIL>" | |
- name: Update artifacts branch | |
run: | | |
git checkout master | |
git fetch origin | |
git checkout artifacts | |
git reset master . | |
git clean -fd | |
git rev-parse master > .source-revision | |
git add . | |
git commit -m "Update artifacts branch" | |
git push origin artifacts |