move mission into src
Some checks failed
Build Mission PBO / pack (push) Failing after 20s
Build Mission PBO / deploy (push) Has been skipped

This commit is contained in:
MrFastwind
2026-06-14 01:53:24 +02:00
parent b5bd14928e
commit 5a7879bca8
479 changed files with 45 additions and 34 deletions

View File

@@ -18,36 +18,47 @@ jobs:
- run: ls -alh
- name: Pack mission folder into PBO
run: |
docker run --name packer \
--user "$(id -u):$(id -g)" \
-v "${{ github.workspace }}:/workspace" \
-w /workspace \
--entrypoint /bin/bash \
arwynfr/armake2:debian -c ' \
armake2 pack /workspace "${{ env.PBO_NAME }}"; \
armake2 inspect "./${{ env.PBO_NAME }}"'
- run: mkdir build
- name: Copy mission PBO
run: |
docker cp packer:/workspace/${{ env.PBO_NAME }} .
- name: Pack mission folder into PBO
uses: docker://arwynfr/armake2:debian
with:
args: pack src "build/${{ env.PBO_NAME }}"
# - name: Pack mission folder into PBO
# run: |
# docker run --name packer \
# --user "$(id -u):$(id -g)" \
# -v "${{ github.workspace }}:/workspace" \
# -w /workspace \
# --entrypoint /bin/bash \
# arwynfr/armake2:debian -c ' \
# armake2 pack /workspace "${{ env.PBO_NAME }}"; \
# armake2 inspect "./${{ env.PBO_NAME }}"'
# - name: Copy mission PBO
# run: |
# docker cp packer:/workspace/${{ env.PBO_NAME }} .
- run: ls -alh
- name: Cleanup Packer Container
# if: always() garantisce l'esecuzione anche se i passaggi sopra falliscono
if: always()
run: |
docker rm -f packer || true
# - 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 \
# -v "${{ github.workspace }}:/workspace" \
# -w /workspace \
# arwynfr/armake2:debian \
# inspect "./${{ env.PBO_NAME }}"
- name: Verify PBO integrity
run: |
docker run --rm \
-v "${{ github.workspace }}:/workspace" \
-w /workspace \
arwynfr/armake2:debian \
inspect "./${{ env.PBO_NAME }}"
uses: docker://arwynfr/armake2:debian
with:
args: inspect "build/${{ env.PBO_NAME }}"
- name: Upload PBO as artifact
uses: https://github.com/christopherHX/gitea-upload-artifact@v4

20
.gitignore vendored
View File

@@ -1,12 +1,12 @@
*.pbo
*.bisign
*.bikey
*.zip
*.log
*.rpt
*.psd
*.bak
*.tmp
*.swp
src/*.pbo
src/*.bisign
src/*.bikey
src/*.zip
src/*.log
src/*.rpt
src/*.psd
src/*.bak
src/*.tmp
src/*.swp
.vs/
__history/

Some files were not shown because too many files have changed in this diff Show More