diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 91d00b8..d338fe4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,8 +32,14 @@ jobs: steps: - name: Download artifacts uses: https://gitea.com/actions/download-artifact@v3-node20 + - id: date + name: Generate date + run: |- + nix build coreutils + echo "DATE=$(./result/bin/date +'%Y-%m-%d-%H')" >> "$GITHUB_OUTPUT" - name: Create release uses: https://gitea.com/actions/gitea-release-action@v1 with: + tag_name: ${{ steps.date.outputs.DATE }} files: |- "*.tar.xz"