fix: pipe PBO via stdout to bypass DinD volume mount issue
Some checks failed
Build Mission PBO / pack (push) Failing after 10s
Build Mission PBO / deploy (push) Has been skipped

This commit is contained in:
2026-06-11 01:58:50 +02:00
parent eba2c13015
commit e345451c7e

View File

@@ -19,28 +19,24 @@ jobs:
- name: Pack mission folder into PBO - name: Pack mission folder into PBO
run: | run: |
docker run --rm \ docker run --rm \
--user "$(id -u):$(id -g)" \
-v "${{ github.workspace }}:/workspace" \ -v "${{ github.workspace }}:/workspace" \
-w /workspace \ -w /workspace \
arwynfr/armake2:debian \ arwynfr/armake2:debian \
pack \ pack /workspace \
/workspace \ > "${{ env.PBO_NAME }}"
"${{ env.PBO_NAME }}"
- name: Verify PBO integrity - name: Verify PBO integrity
run: | run: |
docker run --rm \ docker run --rm -i \
--user "$(id -u):$(id -g)" \
-v "${{ github.workspace }}:/workspace" \
-w /workspace \
arwynfr/armake2:debian \ arwynfr/armake2:debian \
inspect "${{ env.PBO_NAME }}" sh -c 'cat > /tmp/verify.pbo && armake2 inspect /tmp/verify.pbo' \
< "${{ env.PBO_NAME }}"
- name: Upload PBO as artifact - name: Upload PBO as artifact
uses: https://github.com/christopherHX/gitea-upload-artifact@v4 uses: https://github.com/christopherHX/gitea-upload-artifact@v4
with: with:
name: ${{ env.PBO_NAME }} name: ${{ env.PBO_NAME }}
path: ${{ env.PBO_NAME }} path: ${{ github.workspace }}/${{ env.PBO_NAME }}
if-no-files-found: error if-no-files-found: error
deploy: deploy: