diff --git a/.gitea/workflows/build-script.yaml b/.gitea/workflows/build-script.yaml index a01a5b9..3208f64 100644 --- a/.gitea/workflows/build-script.yaml +++ b/.gitea/workflows/build-script.yaml @@ -7,10 +7,6 @@ on: pull_request: branches: [ "**" ] -env: - TYPST_SOURCE_DIR: src - BUILD_DIR: build - jobs: build-typst: runs-on: ubuntu-latest @@ -28,23 +24,26 @@ jobs: - name: Debug Ls run: ls -la "$PWD" && echo "$PWD && echo ${{ github.workspace }}" + - name: Make build directory + run: mkdir -p build + - name: Compile Analysis1 continue-on-error: true with: working-directory: src/Analysis1 - run: typst compile Analysis1.typ ../../build/Analysis1.pdf + run: typst compile --root src src/cheatsheets/Analysis1.typ ../build/Analysis1.pdf - name: Compile Schaltungstheorie continue-on-error: true with: working-directory: src/Schaltungstheorie - run: typst compile Schaltungstheorie.typ ../../build/Schaltungstheorie.pdf + run: typst compile --root src src/cheatsheets/Schaltungstheorie.typ ../build/Schaltungstheorie.pdf - name: Compile LinAlg continue-on-error: true with: working-directory: src/LinearAlgebra - run: typst compile LinearAlgebra.typ ../../build/LinearAlgebra.pdf + run: typst compile --root src src/cheatsheets/LinearAlgebra.typ ../build/LinearAlgebra.pdf - name: Create Gitea Release continue-on-error: true diff --git a/src/Analysis1/Analysis1.typ b/src/cheatsheets/Analysis1.typ similarity index 100% rename from src/Analysis1/Analysis1.typ rename to src/cheatsheets/Analysis1.typ diff --git a/src/LinearAlgebra/LinearAlgebra.typ b/src/cheatsheets/LinearAlgebra.typ similarity index 98% rename from src/LinearAlgebra/LinearAlgebra.typ rename to src/cheatsheets/LinearAlgebra.typ index acdb14e..ae2e0ec 100644 --- a/src/LinearAlgebra/LinearAlgebra.typ +++ b/src/cheatsheets/LinearAlgebra.typ @@ -1,7 +1,7 @@ #import "@preview/biceps:0.0.1" : * #import "@preview/mannot:0.3.1" -#import "lib/styles.typ" : * -#import "lib/common_rewrite.typ" : * +#import "../lib/styles.typ" : * +#import "../lib/common_rewrite.typ" : * #set page( paper: "a4", diff --git a/src/Schaltungstheorie/Schaltungstheorie.typ b/src/cheatsheets/Schaltungstheorie.typ similarity index 100% rename from src/Schaltungstheorie/Schaltungstheorie.typ rename to src/cheatsheets/Schaltungstheorie.typ