change tag generation

This commit is contained in:
2026-03-27 15:56:45 -04:00
parent 21ba2de74c
commit 0e89bc75cd

View File

@@ -10,7 +10,17 @@ on:
workflow_dispatch: workflow_dispatch:
jobs: 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: build:
needs: date-fetch
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: write contents: write
@@ -35,7 +45,7 @@ jobs:
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
files: result/Alice_Huston_Resume_Software_Engineer.pdf 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 }}" body: "Resume PDF built from commit ${{ github.sha }}"
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}