ci/fix-release-artifacts #93

Merged
servostar merged 5 commits from ci/fix-release-artifacts into main 2024-11-25 10:01:24 +00:00
4 changed files with 51 additions and 46 deletions

View File

@ -1,8 +1,10 @@
name: Build'n check
run-name: Performing Typst compilation
on:
push:
pull_request:
types:
- opened
- synchronize
branches:
- main
jobs:
@ -12,8 +14,7 @@ jobs:
# push with commit containing "Run-Checks"
if: >
(contains(github.event.head_commit.message, 'Run-Checks') &&
github.event_name == 'push') ||
github.event_name == 'pull_request'
github.event_name == 'push')
steps:
- name: Check out repository code
uses: actions/checkout@v3

View File

@ -28,7 +28,7 @@ jobs:
nix-shell --run ./run-ci.sh
- name: Upload artifact
id: artifact-upload
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: example-document
path: ${{ github.workspace }}/example.pdf
@ -51,7 +51,7 @@ jobs:
go-version: '>=1.20.1'
- name: Download Artifact
id: download
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: example-document
path: ${{ github.workspace }}/Example.pdf

View File

@ -9,5 +9,6 @@ pkgs.mkShellNoCC {
python312Packages.pyyaml
typst
typstyle
ripgrep
];
}

View File

@ -200,7 +200,9 @@ SOFTWARE.*/
#block(
below: 1.5em,
width: 100%,
par(hanging-indent: 1em, align(left)[
par(
hanging-indent: 1em,
align(left)[
#text(weight: "bold", entry.short)
#if hasLong and hasDesc [
(#text(entry.long))
@ -239,7 +241,8 @@ SOFTWARE.*/
)
.join(", ")
}
]),
],
),
)
]
}