Compare commits
3 Commits
alice-hust
...
alice-hust
| Author | SHA1 | Date | |
|---|---|---|---|
| 41befd6626 | |||
| f3ae240c68 | |||
| 1614e9aed0 |
8
.github/workflows/build-resume.yaml
vendored
8
.github/workflows/build-resume.yaml
vendored
@@ -14,10 +14,14 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
current-date: ${{ steps.get-date.outputs.current-date }}
|
||||
commit-sha: ${{ steps.get-sha.outputs.commit-sha }}
|
||||
steps:
|
||||
- name: Get current date
|
||||
id: get-date
|
||||
run: echo "current-date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
|
||||
- name: Get first 7 characters of commit SHA
|
||||
id: get-sha
|
||||
run: echo "commit-sha=$(echo $GITHUB_SHA | cut -c1-7)" >> $GITHUB_OUTPUT
|
||||
|
||||
build:
|
||||
needs: date-fetch
|
||||
@@ -45,7 +49,7 @@ jobs:
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: result/Alice_Huston_Resume_Software_Engineer.pdf
|
||||
tag_name: alice-huston-resume-${{ needs.date-fetch.outputs.current-date }}-${{ github.sha }}
|
||||
body: "Resume PDF built from commit ${{ github.sha }}"
|
||||
tag_name: alice-huston-resume-${{ needs.date-fetch.outputs.current-date }}-${{ needs.date-fetch.outputs.commit-sha }}
|
||||
body: "Resume PDF built from commit ${{ github.sha }} on ${{ needs.date-fetch.outputs.current-date }}."
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user