forked from buzzert/smartbar
fix workflow
This commit is contained in:
@@ -13,6 +13,16 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: golang:1.22-bookworm
|
image: golang:1.22-bookworm
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install Node 20 and Git
|
||||||
|
run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y --no-install-recommends curl ca-certificates gnupg
|
||||||
|
install -d -m 0755 /etc/apt/keyrings
|
||||||
|
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
||||||
|
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" > /etc/apt/sources.list.d/nodesource.list
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y --no-install-recommends nodejs git
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
@@ -32,4 +42,3 @@ jobs:
|
|||||||
name: output-pdf
|
name: output-pdf
|
||||||
path: _dist/output.pdf
|
path: _dist/output.pdf
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user