From 51b84cb2af1b2d8f4d0df709930c770169fbd127 Mon Sep 17 00:00:00 2001 From: Rufei Zhou Date: Mon, 7 Apr 2025 01:10:30 -0700 Subject: [PATCH] use time as release --- .gitea/workflows/refresh.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/refresh.yaml b/.gitea/workflows/refresh.yaml index ab842de..7da8cb5 100755 --- a/.gitea/workflows/refresh.yaml +++ b/.gitea/workflows/refresh.yaml @@ -45,6 +45,9 @@ jobs: - name: Install dependencies if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' run: poetry install --no-interaction --no-root + - name: Get current time + id: time + run: echo "::set-output name=time::$(date +'%Y-%m-%d %H:%M %p')" #---------------------------------------------- # install and run the project #---------------------------------------------- @@ -66,9 +69,9 @@ jobs: with: name: calendars path: calendars - - name: Create new release uses: akkuman/gitea-release-action@v1 + name: ${{ steps.time.outputs.time }} with: files: |- - calendars/** \ No newline at end of file + calendars \ No newline at end of file