Update build.yml #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Thesis | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
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 $(date +%Y_%m_%d_%H_%M) | |
- uses: ncipollo/release-action@v1 | |
with: | |
allowUpdates: True | |
omitBody: True | |
commit: ${{ github.sha }} | |
tag: $(date +%Y_%m_%d_%H_%M) | |
artifacts: "Makefile" | |
token: ${{ secrets.GITHUB_TOKEN }} |