From 66faf3bea339e3ed81ddcfeff351944f9d29a6aa Mon Sep 17 00:00:00 2001 From: KyroVibe Date: Tue, 19 Mar 2024 01:04:10 -0600 Subject: [PATCH] Fixing date grabbing --- .github/workflows/FissionPackage.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/FissionPackage.yml b/.github/workflows/FissionPackage.yml index e9ae03f983..8fe6266598 100644 --- a/.github/workflows/FissionPackage.yml +++ b/.github/workflows/FissionPackage.yml @@ -19,6 +19,11 @@ jobs: with: node-version: 20 + - name: Get date + id: date # this is used on variable path + run: | + echo "timestamp=$(date +'%Y-%m-%dT%H-%M-%S')" >> $GITHUB_OUTPUT + - name: Install Dependencies run: | cd fission @@ -40,5 +45,5 @@ jobs: uses: actions/upload-artifact@v4 id: upload-artifact with: - name: "${{ steps.info.outputs.name }}@${{ steps.info.outputs.version }} [$(date +'%Y-%m-%dT%H:%M:%S')]" + name: "${{ steps.info.outputs.name }}@${{ steps.info.outputs.version }}[${{ steps.date.outputs.timestamp }}]" path: fission/dist/ \ No newline at end of file