Update build.yml
All checks were successful
Build Mission PBO / pack (push) Successful in 21s
Build Mission PBO / deploy (push) Has been skipped

This commit is contained in:
MrFastwind
2026-06-14 01:00:04 +02:00
parent ddb208ab24
commit 74c328b8d4

View File

@@ -3,7 +3,7 @@ name: Build Mission PBO
on:
push:
branches: [main, master]
tags: ['v*']
tags: ["v*"]
workflow_dispatch:
env:
@@ -18,24 +18,28 @@ jobs:
- name: Pack mission folder into PBO
run: |
docker run --rm --user "$(id -u):$(id -g)" \
-v "${{ github.workspace }}:/workspace" \
docker run --name packer \
-v "${{ github.workspace }}:/workspace:rw" \
-w /workspace \
arwynfr/armake2:debian \
pack /workspace "${{ env.PBO_NAME }}"
docker cp packer:/workspace/${{ env.PBO_NAME }} .
- name: Cleanup Packer Container
# if: always() garantisce l'esecuzione anche se i passaggi sopra falliscono
if: always()
run: |
docker rm -f packer || true
- name: Verify PBO integrity
run: |
docker run --rm \
--user "$(id -u):$(id -g)" \
-v "${{ github.workspace }}:/workspace" \
-w /workspace \
arwynfr/armake2:debian \
inspect "./${{ env.PBO_NAME }}"
- name: Debug list
run: ls -alh; echo "${{ github.workspace }}"; ls -alh ${{ github.workspace }}
- name: Upload PBO as artifact
uses: https://github.com/christopherHX/gitea-upload-artifact@v4
with: