Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganize sections #2

Closed
wants to merge 20 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/check_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Compile LaTeX

on:
pull_request:
branches:
- main

jobs:
compile_latex:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Compile LaTeX
uses: hspaans/latexmk-action@v1
with:
format: pdf
filename: root.tex
46 changes: 46 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Compile LaTeX and Release PDF

on:
push:
branches:
- main

jobs:
build_and_release:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y%m%d')"

- name: Compile LaTeX
uses: hspaans/latexmk-action@v1
with:
format: pdf
filename: root.tex

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.date.outputs.date }}-${{ github.run_number }}
release_name: Release ${{ steps.date.outputs.date }}-${{ github.run_number }}
draft: false
prerelease: false

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./root.pdf
asset_name: robot-writeup-2024.pdf
asset_content_type: application/pdf
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build/*
indent.log
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Robot Writeup 2024

Writeup for Team 1280's robot for the 2024 Crescendo season.

Web version coming soon.

Or download the PDF from [our releases page (automatically kept up to date)](https://github.com/Team-1280/robot-writeup-2024/releases/tag/main).
28 changes: 0 additions & 28 deletions build/root.aux

This file was deleted.

103 changes: 0 additions & 103 deletions build/root.fdb_latexmk

This file was deleted.

Loading
Loading