Update html and assets folder file #536
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: Compile Latex and Release PDF | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build_latex: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Git repository | |
uses: actions/checkout@v2 | |
- name: Delete | |
uses: dev-drprasad/[email protected] | |
with: | |
keep_latest: 1 | |
delete_tags: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Compile - main_math | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: main_math.tex | |
# MATHEMATICS 1 | |
- name: Compile - FM | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Fundamentals_of_mathematics.tex | |
working_directory: Mathematics/1st/Fundamentals_of_mathematics/ | |
- name: Compile - LA | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Linear_algebra.tex | |
working_directory: Mathematics/1st/Linear_algebra/ | |
- name: Compile - RVF | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Real-valued_functions.tex | |
working_directory: Mathematics/1st/Real-valued_functions/ | |
# MATHEMATICS 2 | |
- name: Compile - AS | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Algebraic_structures.tex | |
working_directory: Mathematics/2nd/Algebraic_structures/ | |
- name: Compile - DM | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Discrete_mathematics.tex | |
working_directory: Mathematics/2nd/Discrete_mathematics/ | |
- name: Compile - FSV | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Functions_of_several_variables.tex | |
working_directory: Mathematics/2nd/Functions_of_several_variables/ | |
- name: Compile - LG | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Linear_geometry.tex | |
working_directory: Mathematics/2nd/Linear_geometry/ | |
- name: Compile - MA | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Mathematical_analysis.tex | |
working_directory: Mathematics/2nd/Mathematical_analysis/ | |
- name: Compile - NM | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Numerical_methods.tex | |
working_directory: Mathematics/2nd/Numerical_methods/ | |
# MATHEMATICS 3 | |
- name: Compile - CA | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Complex_analysis.tex | |
working_directory: Mathematics/3rd/Complex_analysis/ | |
- name: Compile - DE | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Differential_equations.tex | |
working_directory: Mathematics/3rd/Differential_equations/ | |
- name: Compile - DG | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Differential_geometry.tex | |
working_directory: Mathematics/3rd/Differential_geometry/ | |
- name: Compile - GT | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Galois_theory.tex | |
working_directory: Mathematics/3rd/Galois_theory/ | |
- name: Compile - PRO | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Probability.tex | |
working_directory: Mathematics/3rd/Probability/ | |
- name: Compile - S | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Statistics.tex | |
working_directory: Mathematics/3rd/Statistics/ | |
- name: Compile - TOP | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Topology.tex | |
working_directory: Mathematics/3rd/Topology/ | |
# MATHEMATICS 4 | |
- name: Compile - AT | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Algebraic_topology.tex | |
working_directory: Mathematics/4th/Algebraic_topology/ | |
- name: Compile - A | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Arithmetic.tex | |
working_directory: Mathematics/4th/Arithmetic/ | |
# - name: Compile - CA | |
# uses: xu-cheng/latex-action@v2 | |
# with: | |
# root_file: Commutative_algebra.tex | |
# working_directory: Mathematics/4th/Commutative_algebra/ | |
- name: Compile - DS | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Dynamical_systems.tex | |
working_directory: Mathematics/4th/Dynamical_systems/ | |
- name: Compile - HA | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Harmonic_analysis.tex | |
working_directory: Mathematics/4th/Harmonic_analysis/ | |
- name: Compile - LM | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Linear_models.tex | |
working_directory: Mathematics/4th/Linear_models/ | |
- name: Compile - NC | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Numerical_calculus.tex | |
working_directory: Mathematics/4th/Numerical_calculus/ | |
- name: Compile - NIPDE | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Numerical_integration_of_partial_differential_equations.tex | |
working_directory: Mathematics/4th/Numerical_integration_of_partial_differential_equations/ | |
- name: Compile - PDE | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Partial_differential_equations.tex | |
working_directory: Mathematics/4th/Partial_differential_equations/ | |
- name: Compile - RFA | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Real_and_functional_analysis.tex | |
working_directory: Mathematics/4th/Real_and_functional_analysis/ | |
- name: Compile - ST | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Stochastic_processes.tex | |
working_directory: Mathematics/4th/Stochastic_processes/ | |
# MATHEMATICS 5 | |
- name: Compile - ADS | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Advanced_dynamical_systems.tex | |
working_directory: Mathematics/5th/Advanced_dynamical_systems/ | |
- name: Compile - AP | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Advanced_probability.tex | |
working_directory: Mathematics/5th/Advanced_probability/ | |
- name: Compile - ATFAPDE | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Advanced_topics_in_functional_analysis_and_PDEs.tex | |
working_directory: Mathematics/5th/Advanced_topics_in_functional_analysis_and_PDEs/ | |
- name: Compile - CO | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Continuous_optimization.tex | |
working_directory: Mathematics/5th/Continuous_optimization/ | |
- name: Compile - IEPDE | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Introduction_to_control_theory.tex | |
working_directory: Mathematics/5th/Introduction_to_control_theory/ | |
- name: Compile - INEPDE | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Introduction_to_nonlinear_elliptic_PDEs.tex | |
working_directory: Mathematics/5th/Introduction_to_nonlinear_elliptic_PDEs/ | |
- name: Compile - MM | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Montecarlo_methods.tex | |
working_directory: Mathematics/5th/Montecarlo_methods/ | |
- name: Compile - MM | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Numerical_methods_for_PDEs.tex | |
working_directory: Mathematics/5th/Numerical_methods_for_PDEs/ | |
- name: Compile - SC | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Stochastic_calculus.tex | |
working_directory: Mathematics/5th/Stochastic_calculus/ | |
- name: Compile - SCO | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Stochastic_control.tex | |
working_directory: Mathematics/5th/Stochastic_control/ | |
########## | |
########## | |
- name: Compile - main_math | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: main_physics.tex | |
# PHYSICS BASIC | |
- name: Compile - EiM | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Electricity_and_magnetism.tex | |
working_directory: Physics/Basic/Electricity_and_magnetism/ | |
- name: Compile - MiR | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Mechanics_and_special_relativity.tex | |
working_directory: Physics/Basic/Mechanics_and_special_relativity/ | |
# PHYSICS 2 | |
- name: Compile - SMT | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Structure_of_matter_and_thermodynamics.tex | |
working_directory: Physics/Basic/Structure_of_matter_and_thermodynamics/ | |
# PHYSICS 3 | |
- name: Compile - QF | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Quantum_physics.tex | |
working_directory: Physics/Advanced/Quantum_physics/ | |
# PHYSICS 4 | |
- name: Compile - QF | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: Fluid_mechanics.tex | |
working_directory: Physics/Advanced/Fluid_mechanics/ | |
- name: Create Release | |
id: create_release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ github.run_number }} | |
release_name: Release ${{ github.run_number }} | |
draft: false | |
prerelease: false | |
- name: Upload asset to release | |
uses: csexton/release-asset-action@v2 | |
with: | |
release-url: ${{ steps.create_release.outputs.upload_url }} | |
pattern: "**/*.pdf" | |
github-token: ${{ secrets.GITHUB_TOKEN }} |