mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-11 16:30:28 +00:00
fix: Allow artifact index and manifest generation to continue on error
This commit is contained in:
6
.github/workflows/build-multiplatform.yml
vendored
6
.github/workflows/build-multiplatform.yml
vendored
@@ -657,6 +657,9 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
R2_PUBLIC_URL: ${{ secrets.R2_PUBLIC_URL }}
|
R2_PUBLIC_URL: ${{ secrets.R2_PUBLIC_URL }}
|
||||||
run: |
|
run: |
|
||||||
|
# Don't exit on error - generate index for whatever artifacts exist
|
||||||
|
set +e
|
||||||
|
|
||||||
generate_index() {
|
generate_index() {
|
||||||
local BUILD_DIR="$1"
|
local BUILD_DIR="$1"
|
||||||
local BASE_URL="$2"
|
local BASE_URL="$2"
|
||||||
@@ -1103,6 +1106,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Create build manifests
|
- name: Create build manifests
|
||||||
run: |
|
run: |
|
||||||
|
# Don't exit on error - create manifests for whatever artifacts exist
|
||||||
|
set +e
|
||||||
|
|
||||||
# Create manifest for build-specific directory (after index.html is generated)
|
# Create manifest for build-specific directory (after index.html is generated)
|
||||||
cat > "r2-upload/unstable/${{ steps.metadata.outputs.build_prefix }}/manifest.json" <<EOF
|
cat > "r2-upload/unstable/${{ steps.metadata.outputs.build_prefix }}/manifest.json" <<EOF
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user