Skip to content

Commit 1eedcaa

Browse files
committed
chore(deps): Added latest interpreter + github CI/CD timestamp control
1 parent e4b67c6 commit 1eedcaa

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.github/workflows/unit-tests.yaml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Update Timestamp
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
update-timestamp:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v2
15+
16+
- name: Extract Commit Timestamp
17+
run: echo "$(git log -1 --format=%ci)" > commit_timestamp.txt
18+
19+
- name: Store Timestamp as Environment Variable
20+
run: echo "TIMESTAMP=$(cat commit_timestamp.txt)" >> $GITHUB_ENV
21+
22+
- name: Upload Timestamp as Artifact
23+
uses: actions/upload-artifact@v2
24+
with:
25+
name: commit-timestamp
26+
path: commit_timestamp.txt

0 commit comments

Comments
 (0)