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 5b98357 commit 672390c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ jobs:
path: macos_build_intel.tar.gz

build_lin_ub12:
name: Build Ubuntu 14.04 artifacts
name: Build Ubuntu 13.04 artifacts
runs-on: ubuntu-latest
container: ubuntu:14.04
container: ubuntu:13.04
steps:
- name: Prepare build tools
run: |
#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
cat /etc/apt/sources.list
apt-get update
apt-get install -y python-software-properties
Expand All @@ -129,14 +129,14 @@ jobs:
run: |
git clone https://github.com/MoneroOcean/xmrig.git .
git checkout $GITHUB_REF_NAME
- name: Build project on Ubuntu 14.04
- name: Build project on Ubuntu 13.04
run: |
cd scripts && ./build_deps.sh && cd ..
/opt/cmake-3.27.9-linux-x86_64/bin/cmake . -DXMRIG_DEPS=scripts/deps
make -j$(nproc)
cp src/config.json .
tar cfz ubuntu12_build.tar.gz xmrig config.json
- name: Upload Ubuntu 14.04 build artifacts
- name: Upload Ubuntu 13.04 build artifacts
uses: actions/upload-artifact@v4
with:
name: ubuntu12_build
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
uses: actions/download-artifact@v1
with:
name: macos_build_intel
- name: Download Ubuntu 14.04 build artifacts
- name: Download Ubuntu 13.04 build artifacts
uses: actions/download-artifact@v1
with:
name: ubuntu12_build
Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
asset_path: macos_build_intel/macos_build_intel.tar.gz
asset_name: xmrig-${{steps.version.outputs.VERSION}}-mac-intel.tar.gz
asset_content_type: application/zip
- name: Upload Ubuntu 14.04 build release asset
- name: Upload Ubuntu 13.04 build release asset
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 672390c

Please sign in to comment.