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