Compare commits
1 Commits
resume-12
...
alice-hust
| Author | SHA1 | Date | |
|---|---|---|---|
| 6078e15cab |
12
.github/workflows/build-resume.yaml
vendored
12
.github/workflows/build-resume.yaml
vendored
@@ -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 }}
|
||||||
Reference in New Issue
Block a user