From 30ae399b08b8e2a7db226fca0519e7407b6db0c5 Mon Sep 17 00:00:00 2001
From: intercepted16 <162676516+intercepted16@users.noreply.github.com>
Date: Thu, 15 Aug 2024 22:37:52 +1000
Subject: [PATCH] fix: invalid timestamp in GitHub Action

---
 .github/workflows/master-ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/master-ci.yml b/.github/workflows/master-ci.yml
index c08a097..04340f5 100644
--- a/.github/workflows/master-ci.yml
+++ b/.github/workflows/master-ci.yml
@@ -67,9 +67,12 @@ jobs:
         run: |
           git tag "build-$(date +'%Y%m%d%H%M%S')"
           git push origin --tags
+      - name: Set timestamp
+        id: set_timestamp
+        run: echo "timestamp=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
       - name: Upload Compiled File
         uses: softprops/action-gh-release@v2
         with:
-          tag_name: "build-$(date +'%Y%m%d%H%M%S')"
+          tag_name: ${{ env.timestamp }}
           files: |
             mtafoubs