Compare commits
3
Commits
507be6f0a2
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dfa7451c16 | ||
|
|
426b2641ff | ||
|
|
bce971fbd2 |
+10
-2
@@ -12,7 +12,15 @@ jobs:
|
||||
run: pipx install pre-commit
|
||||
|
||||
- name: Run pre-commit
|
||||
run: ~/.local/bin/pre-commit run --all-files --show-diff-on-failure
|
||||
# `pipx install` writes the app to PIPX_BIN_DIR, which is not
|
||||
# necessarily ~/.local/bin and not necessarily on PATH, so don't
|
||||
# hardcode a path that only some runner images happen to use.
|
||||
run: |
|
||||
if command -v pre-commit >/dev/null 2>&1; then
|
||||
pre-commit run --all-files --show-diff-on-failure
|
||||
else
|
||||
pipx run pre-commit run --all-files --show-diff-on-failure
|
||||
fi
|
||||
|
||||
build:
|
||||
strategy:
|
||||
@@ -76,7 +84,7 @@ jobs:
|
||||
echo "MinIO credentials not configured; skipping upload"
|
||||
exit 0
|
||||
fi
|
||||
curl -Ls "https://dl.min.io/client/mc/release/linux-$(dpkg --print-architecture)/mc" \
|
||||
curl -fLs "https://minio.weaselab.dev/public/$(uname -m)/mc.RELEASE.2025-08-13T08-35-41Z" \
|
||||
-o /tmp/mc && chmod +x /tmp/mc
|
||||
dest="minio/jenkins/weaseljson/${{ gitea.run_number }}/${{ matrix.name }}/"
|
||||
/tmp/mc cp build/*.deb "$dest"
|
||||
|
||||
Reference in new issue
Block a user