Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sifferman committed Sep 6, 2023
1 parent bd12ae5 commit 7002a80
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,23 @@ jobs:
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install TeX Live
run: |
sudo apt install -y texlive texlive-full
- name: Build
run: |
make
- name: Checkout repository
uses: actions/checkout@v3
- name: Install TeX Live
run: |
sudo apt install -y texlive texlive-full
- name: Build
run: |
make
- name: Create Tag
run: |
echo "TAG_NAME=$(date +%Y.%m.%d.%H.%M)" >> "$GITHUB_ENV"
git tag ${{ env.TAG_NAME }}
git push origin ${{ env.TAG_NAME }}
- uses: ncipollo/release-action@v1
with:
allowUpdates: True
omitBody: True
tag: ${{ env.TAG_NAME }}
artifacts: "build/thesis.pdf"
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7002a80

Please sign in to comment.