From 0e89bc75cd91fde7f57bd0ad279e10798972f303 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Fri, 27 Mar 2026 15:56:45 -0400 Subject: [PATCH] change tag generation --- .github/workflows/build-resume.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-resume.yaml b/.github/workflows/build-resume.yaml index 302ae1f..b6087fd 100644 --- a/.github/workflows/build-resume.yaml +++ b/.github/workflows/build-resume.yaml @@ -10,7 +10,17 @@ on: workflow_dispatch: jobs: + date-fetch: + runs-on: ubuntu-latest + outputs: + current-date: ${{ steps.get-date.outputs.current-date }} + steps: + - name: Get current date + id: get-date + run: echo "current-date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT + build: + needs: date-fetch runs-on: ubuntu-latest permissions: contents: write @@ -35,7 +45,7 @@ jobs: uses: softprops/action-gh-release@v1 with: files: result/Alice_Huston_Resume_Software_Engineer.pdf - tag_name: resume-${{ github.run_number }} + tag_name: alice-huston-resume-${{ needs.date-fetch.outputs.current-date }}-${{ github.sha }} body: "Resume PDF built from commit ${{ github.sha }}" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file