From ed145caa82f5fc2de5b1b5ca4b44aa9facb6d099 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Thu, 22 Feb 2024 14:05:24 +0000 Subject: [PATCH] How does that do? --- .gitea/workflows/generate.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/generate.yaml b/.gitea/workflows/generate.yaml index 815097b..9a8f03d 100644 --- a/.gitea/workflows/generate.yaml +++ b/.gitea/workflows/generate.yaml @@ -16,6 +16,13 @@ jobs: - name: Validate YAML uses: https://github.com/GrantBirki/json-yaml-validate@v2.6.1 + - name: Get current timestamp + id: timestamp + run: echo "::set-output name=date::$(date +'%Y%m%d_%H%M%S')" + - name: Create Release if: success() - uses: https://github.com/ncipollo/release-action@v1 \ No newline at end of file + uses: ncipollo/release-action@v1 + with: + tag: ${{ steps.timestamp.outputs.date }} + commit: ${{ steps.timestamp.outputs.date }} \ No newline at end of file