diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 328ceea..c90c7a9 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -28,6 +28,10 @@ jobs: - name: Compile LaTeX document run: pdflatex -interaction=nonstopmode -halt-on-error resume.tex + - name: Compute version + id: version + run: echo "version=v$(date -u +'%Y.%-m.%-d').${{ github.run_number }}" >> "$GITHUB_OUTPUT" + - name: Publish to "latest" release uses: akkuman/gitea-release-action@v1 env: @@ -35,7 +39,7 @@ jobs: with: tag_name: latest target_commitish: ${{ github.sha }} - name: Latest Resume + name: ${{ steps.version.outputs.version }} body: Automatically built from commit ${{ github.sha }}. token: ${{ secrets.GITHUB_TOKEN }} files: |-