Skip to content

chore(deps): Added latest interpreter + github CI/CD timestamp control #1

chore(deps): Added latest interpreter + github CI/CD timestamp control

chore(deps): Added latest interpreter + github CI/CD timestamp control #1

Workflow file for this run

name: Update Timestamp
on:
push:
branches:
- main
jobs:
update-timestamp:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Extract Commit Timestamp
run: echo "$(git log -1 --format=%ci)" > commit_timestamp.txt
- name: Store Timestamp as Environment Variable
run: echo "TIMESTAMP=$(cat commit_timestamp.txt)" >> $GITHUB_ENV
- name: Upload Timestamp as Artifact
uses: actions/upload-artifact@v2
with:
name: commit-timestamp
path: commit_timestamp.txt