Skip to content

Update build.yml

Update build.yml #13

Workflow file for this run

name: Build Thesis
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
env:
TAG_NAME: $(date +%Y_%m_%d_%H_%M)
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: Test
run: |
echo ${{ github.sha }}
echo $TAG_NAME
- name: Create Tag
run: |
git tag $TAG_NAME
git push origin $TAG_NAME
- uses: ncipollo/release-action@v1
with:
allowUpdates: True
omitBody: True
commit: ${{ github.sha }}
tag: $TAG_NAME
artifacts: "Makefile"
token: ${{ secrets.GITHUB_TOKEN }}