fix current time format

This commit is contained in:
an-lee
2024-03-01 14:25:47 +08:00
parent 56dc1b2044
commit 4adc8d2178

View File

@@ -30,7 +30,7 @@ jobs:
uses: josStorer/get-current-time@v2
id: current-time
with:
format: YYYYMMDD-HH
format: YYYYMMDD-HH-mm
- uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
@@ -68,7 +68,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Enjoy-${{ runner.os }}-${{ github.event.inputs.arch }}-build-${{ steps.current-time.outputs.time }}
name: Enjoy-${{ runner.os }}-${{ github.event.inputs.arch }}-build-${{ steps.current-time.outputs.formattedTime }}
path: |
enjoy/out/make/**/*.deb
enjoy/out/make/**/*.rpm