ci/fix-release-artifacts #93
|
@ -1,8 +1,10 @@
|
||||||
name: Build'n check
|
name: Build'n check
|
||||||
run-name: Performing Typst compilation
|
run-name: Performing Typst compilation
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
pull_request:
|
pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- synchronize
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -12,8 +14,7 @@ jobs:
|
||||||
# push with commit containing "Run-Checks"
|
# push with commit containing "Run-Checks"
|
||||||
if: >
|
if: >
|
||||||
(contains(github.event.head_commit.message, 'Run-Checks') &&
|
(contains(github.event.head_commit.message, 'Run-Checks') &&
|
||||||
github.event_name == 'push') ||
|
github.event_name == 'push')
|
||||||
github.event_name == 'pull_request'
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
nix-shell --run ./run-ci.sh
|
nix-shell --run ./run-ci.sh
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
id: artifact-upload
|
id: artifact-upload
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: example-document
|
name: example-document
|
||||||
path: ${{ github.workspace }}/example.pdf
|
path: ${{ github.workspace }}/example.pdf
|
||||||
|
@ -51,7 +51,7 @@ jobs:
|
||||||
go-version: '>=1.20.1'
|
go-version: '>=1.20.1'
|
||||||
- name: Download Artifact
|
- name: Download Artifact
|
||||||
id: download
|
id: download
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: example-document
|
name: example-document
|
||||||
path: ${{ github.workspace }}/Example.pdf
|
path: ${{ github.workspace }}/Example.pdf
|
||||||
|
|
|
@ -9,5 +9,6 @@ pkgs.mkShellNoCC {
|
||||||
python312Packages.pyyaml
|
python312Packages.pyyaml
|
||||||
typst
|
typst
|
||||||
typstyle
|
typstyle
|
||||||
|
ripgrep
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -200,7 +200,9 @@ SOFTWARE.*/
|
||||||
#block(
|
#block(
|
||||||
below: 1.5em,
|
below: 1.5em,
|
||||||
width: 100%,
|
width: 100%,
|
||||||
par(hanging-indent: 1em, align(left)[
|
par(
|
||||||
|
hanging-indent: 1em,
|
||||||
|
align(left)[
|
||||||
#text(weight: "bold", entry.short)
|
#text(weight: "bold", entry.short)
|
||||||
#if hasLong and hasDesc [
|
#if hasLong and hasDesc [
|
||||||
(#text(entry.long))
|
(#text(entry.long))
|
||||||
|
@ -239,7 +241,8 @@ SOFTWARE.*/
|
||||||
)
|
)
|
||||||
.join(", ")
|
.join(", ")
|
||||||
}
|
}
|
||||||
]),
|
],
|
||||||
|
),
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue