Skip to content

Commit c1d01d7

Browse files
Merge pull request #10 from intercepted16/fix-invalid-timestamp
fix: invalid timestamp in GitHub Action
2 parents 1ec352d + 2257df5 commit c1d01d7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/master-ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,12 @@ jobs:
6767
run: |
6868
git tag "build-$(date +'%Y%m%d%H%M%S')"
6969
git push origin --tags
70+
- name: Set timestamp
71+
id: set_timestamp
72+
run: echo "timestamp=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
7073
- name: Upload Compiled File
7174
uses: softprops/action-gh-release@v2
7275
with:
73-
tag_name: "build-$(date +'%Y%m%d%H%M%S')"
76+
tag_name: ${{ steps.set_timestamp.outputs.timestamp }}
7477
files: |
7578
mtafoubs

0 commit comments

Comments
 (0)