Skip to content

Commit bc7ce27

Browse files
committed
Try new podman again
1 parent aef4e42 commit bc7ce27

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

.github/workflows/build_and_test_debug.yml

+12-14
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ jobs:
3838
runs-on: ubuntu-latest
3939
needs: lint
4040
steps:
41-
- name: Set up Podman
42-
run: sudo apt-get update && sudo apt-get -y install podman
43-
44-
- name: Podman Version
45-
run: podman version
46-
4741
- name: Checkout
4842
uses: actions/checkout@v2.3.4
4943

@@ -56,14 +50,18 @@ jobs:
5650
- name: Install NPM Dependencies
5751
run: npm ci
5852

59-
# - name: Setup Podman
60-
# run: |
61-
# TEMPFILE=mktemp
62-
# node ./src/build/download_file.mjs --url=https://github.com/containers/podman/releases/download/v4.9.0/podman-remote-static-linux_amd64.tar.gz --out="${TEMPFILE}" --sha256=3fbc2df10691063b844346b27a3b463e84d480c51b586912a875140fb764b409
63-
# mkdir -p build/bin
64-
# tar -zx -f ${TEMPFILE} --strip-components=1 -C build/bin
65-
# mv ./build/bin/podman-remote-static-linux_amd64 ./build/bin/podman
66-
# echo "$(pwd)/build/bin" >> $GITHUB_PATH
53+
- name: Setup Podman
54+
run: |
55+
TEMPFILE=mktemp
56+
node ./src/build/download_file.mjs --url=https://github.com/containers/podman/releases/download/v4.9.0/podman-remote-static-linux_amd64.tar.gz --out="${TEMPFILE}" --sha256=3fbc2df10691063b844346b27a3b463e84d480c51b586912a875140fb764b409
57+
mkdir -p build/bin
58+
tar -zx -f ${TEMPFILE} --strip-components=1 -C build/bin
59+
mv ./build/bin/podman-remote-static-linux_amd64 ./build/bin/podman
60+
./build/bin/podman system reset
61+
echo "$(pwd)/build/bin" >> $GITHUB_PATH
62+
63+
- name: Podman Version
64+
run: podman version
6765

6866
- name: Shadowbox Debug Build
6967
run: npm run action shadowbox/server/build

0 commit comments

Comments
 (0)