Skip to content

Commit

Permalink
Update GHA;
Browse files Browse the repository at this point in the history
  • Loading branch information
Renegade-Master committed Jan 27, 2024
1 parent fce6eec commit 307b5a0
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,12 @@ jobs:
echo "groupid=$(id -g)" >> $GITHUB_OUTPUT
- name: Make Volumes
id: volumes
run: |
podman volume create zomboid-server-podman
podman volume create zomboid-config-podman
echo "installdir=$(podman volume inspect zomboid-server-podman | jq -r '.[].Mountpoint' -)" >> $GITHUB_OUTPUT
echo "configdir=$(podman volume inspect zomboid-config-podman | jq -r '.[].Mountpoint' -)" >> $GITHUB_OUTPUT
podman volume inspect zomboid-server-podman
podman volume inspect zomboid-server-podman | jq -r '.[].Mountpoint' -
podman volume inspect zomboid-config-podman
podman volume inspect zomboid-config-podman | jq -r '.[].Mountpoint' -
#######################
# Podman Build System #
Expand All @@ -62,7 +59,7 @@ jobs:
continue-on-error: true
timeout-minutes: 10
env:
IP_FILE: ${{ steps.variables.outputs.configdir }}/ip.txt
IP_FILE: ${{ steps.volumes.outputs.configdir }}/ip.txt
run: |
# Start a timed shutdown signal
(sleep 360 && podman exec \
Expand Down Expand Up @@ -102,13 +99,13 @@ jobs:
echo ''
tree -aL 10 ./ | tee ./root-fs-tree.txt
echo ''
ls -lAuhFn ${{ steps.variables.outputs.installdir }} | tee ./dedicated-server-install-listing.txt
ls -lAuhFn ${{ steps.volumes.outputs.installdir }} | tee ./dedicated-server-install-listing.txt
echo ''
ls -lAuhFn ${{ steps.variables.outputs.configdir }} | tee ./dedicated-server-config-listing.txt
ls -lAuhFn ${{ steps.volumes.outputs.configdir }} | tee ./dedicated-server-config-listing.txt
echo ''
tree -aL 10 ${{ steps.variables.outputs.installdir }} | tee ./dedicated-server-install-tree.txt
tree -aL 10 ${{ steps.volumes.outputs.installdir }} | tee ./dedicated-server-install-tree.txt
echo ''
tree -aL 10 ${{ steps.variables.outputs.configdir }} | tee ./dedicated-server-config-tree.txt
tree -aL 10 ${{ steps.volumes.outputs.configdir }} | tee ./dedicated-server-config-tree.txt
- name: Upload Docker Logs
if: ${{ always() }}
Expand All @@ -125,8 +122,8 @@ jobs:
name: server-configs-${{ matrix.system }}
path: |
podman-compose.yaml
${{ steps.variables.outputs.configdir }}/Server/GitHubActionTest.ini
${{ steps.variables.outputs.configdir }}/Server/GitHubActionTest_SandboxVars.lua
${{ steps.volumes.outputs.configdir }}/Server/GitHubActionTest.ini
${{ steps.volumes.outputs.configdir }}/Server/GitHubActionTest_SandboxVars.lua
ZomboidDedicatedServer/ProjectZomboid64.json
dedicated-server-install-listing.txt
dedicated-server-config-listing.txt
Expand Down

0 comments on commit 307b5a0

Please sign in to comment.