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 - run: ls -alh
- name: Pack mission folder into PBO - run: mkdir build
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 - name: Pack mission folder into PBO
run: | uses: docker://arwynfr/armake2:debian
docker cp packer:/workspace/${{ env.PBO_NAME }} . 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 - run: ls -alh
- name: Cleanup Packer Container # - name: Cleanup Packer Container
# if: always() garantisce l'esecuzione anche se i passaggi sopra falliscono # # if: always() garantisce l'esecuzione anche se i passaggi sopra falliscono
if: always() # if: always()
run: | # run: |
docker rm -f packer || true # 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 - name: Verify PBO integrity
run: | uses: docker://arwynfr/armake2:debian
docker run --rm \ with:
-v "${{ github.workspace }}:/workspace" \ args: inspect "build/${{ env.PBO_NAME }}"
-w /workspace \
arwynfr/armake2:debian \
inspect "./${{ 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

20
.gitignore vendored
View File

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

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