Skip to content

Commit 0d7a698

Browse files
committed
ci: switch to jinjanate and GH hosted ARM runner
1 parent c383513 commit 0d7a698

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- runs-on: ubuntu-latest
2727
artifact-name: climate-tokenization-engine-linux-x64
2828
build-command: npm run create-linux-x64-dist
29-
- runs-on: [Linux, ARM64]
29+
- runs-on: [ubuntu-latest-arm]
3030
artifact-name: climate-tokenization-engine-linux-arm64
3131
build-command: npm run create-linux-arm64-dist
3232
- runs-on: macos-latest
@@ -210,13 +210,13 @@ jobs:
210210
CLIMATE_TOKENIZATION_ENGINE_VERSION: ${{ steps.tag-name.outputs.TAGNAME }}
211211
PLATFORM: ${{ matrix.platform }}
212212
run: |
213-
pip install j2cli
213+
pip install jinjanator
214214
CLI_DEB_BASE="climate-tokenization-engine_${{ steps.tag-name.outputs.TAGNAME }}-1_${PLATFORM}"
215215
mkdir -p "deb/$CLI_DEB_BASE/opt/climate-tokenization-engine"
216216
mkdir -p "deb/$CLI_DEB_BASE/usr/bin"
217217
mkdir -p "deb/$CLI_DEB_BASE/etc/systemd/system"
218218
mkdir -p "deb/$CLI_DEB_BASE/DEBIAN"
219-
j2 -o "deb/$CLI_DEB_BASE/DEBIAN/control" build-scripts/deb/control.j2
219+
jinjanate -o "deb/$CLI_DEB_BASE/DEBIAN/control" build-scripts/deb/control.j2
220220
cp -r ${{ matrix.name }}/* "deb/$CLI_DEB_BASE/opt/climate-tokenization-engine/"
221221
cp build-scripts/deb/climate-tokenization-engine@.service deb/$CLI_DEB_BASE/etc/systemd/system/climate-tokenization-engine@.service
222222
chmod +x deb/$CLI_DEB_BASE/opt/climate-tokenization-engine/climate-tokenization-engine

0 commit comments

Comments
 (0)