Skip to content

Commit

Permalink
Fixed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MoneroOcean committed Oct 23, 2024
1 parent 589024f commit 49aa71d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,8 @@ jobs:
steps:
- name: Run build inside docker
run: |
set -x
mkdir /tmp/docker
(cat <<EOF
cat >/tmp/docker/script.sh <<EOF
set -x
sed -i -r 's/(archive|security).ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
apt-get update
Expand All @@ -137,7 +136,7 @@ jobs:
cp src/config.json .
tar cfz /tmp/docker/ubuntu12_build.tar.gz xmrig config.json
EOF
) | docker run -i -v /tmp/docker:/tmp/docker ubuntu:12.04 /bin/bash -c 'cat'
docker run -i -v /tmp/docker:/tmp/docker ubuntu:12.04 /bin/bash -c /tmp/docker/script.sh
- name: Upload Ubuntu 12.04 build artifacts
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 49aa71d

Please sign in to comment.