Fixed CI
This commit is contained in:
parent
589024f9d6
commit
49aa71d434
1 changed files with 2 additions and 3 deletions
5
.github/workflows/deploy.yml
vendored
5
.github/workflows/deploy.yml
vendored
|
@ -113,9 +113,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Run build inside docker
|
- name: Run build inside docker
|
||||||
run: |
|
run: |
|
||||||
set -x
|
|
||||||
mkdir /tmp/docker
|
mkdir /tmp/docker
|
||||||
(cat <<EOF
|
cat >/tmp/docker/script.sh <<EOF
|
||||||
set -x
|
set -x
|
||||||
sed -i -r 's/(archive|security).ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
|
sed -i -r 's/(archive|security).ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
|
||||||
apt-get update
|
apt-get update
|
||||||
|
@ -137,7 +136,7 @@ jobs:
|
||||||
cp src/config.json .
|
cp src/config.json .
|
||||||
tar cfz /tmp/docker/ubuntu12_build.tar.gz xmrig config.json
|
tar cfz /tmp/docker/ubuntu12_build.tar.gz xmrig config.json
|
||||||
EOF
|
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
|
- name: Upload Ubuntu 12.04 build artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue