mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-11 17:32:47 -05:00
Fixed bug
This commit is contained in:
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@@ -7,11 +7,11 @@ name: Create release and build artifacts from v* tag
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_lin_rh6:
|
build_lin_rh6:
|
||||||
name: Builds CentOS 6 artifacts from v* tag
|
name: Build CentOS 6 artifacts
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: centos:6
|
container: centos:6
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare tools
|
- name: Prepare CentOS 6 tools
|
||||||
run: |
|
run: |
|
||||||
yum install -y --nogpgcheck git cmake3 make openssl-devel libmicrohttpd-devel centos-release-scl-rh devtoolset-6-gcc devtoolset-6-binutils devtoolset-6-gcc-c++
|
yum install -y --nogpgcheck git cmake3 make openssl-devel libmicrohttpd-devel centos-release-scl-rh devtoolset-6-gcc devtoolset-6-binutils devtoolset-6-gcc-c++
|
||||||
rpm -i https://github.com/sipcapture/captagent/raw/master/dependency/centos/6/libuv-1.8.0-1.el6.x86_64.rpm
|
rpm -i https://github.com/sipcapture/captagent/raw/master/dependency/centos/6/libuv-1.8.0-1.el6.x86_64.rpm
|
||||||
@@ -28,12 +28,13 @@ jobs:
|
|||||||
- name: Upload CentOS 6 build artifact
|
- name: Upload CentOS 6 build artifact
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: xmrig-${{github.ref}}-lin64.tar.gz
|
name: centos6_build
|
||||||
path: ./xmrig-${{github.ref}}-lin64.tar.gz
|
path: ./xmrig-${{github.ref}}-lin64.tar.gz
|
||||||
deploy:
|
deploy:
|
||||||
needs: build_lin_rh6
|
needs: build_lin_rh6
|
||||||
name: Create release and upload artifacts from v* tag
|
name: Create release and upload artifacts
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1.0.0
|
uses: actions/create-release@v1.0.0
|
||||||
@@ -47,9 +48,8 @@ jobs:
|
|||||||
- name: Download CentOS 6 build artifact
|
- name: Download CentOS 6 build artifact
|
||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: homework
|
name: centos6_build
|
||||||
- name: Upload CentOS 6 build release asset
|
- name: Upload CentOS 6 build release asset
|
||||||
id: upload-release-asset
|
|
||||||
uses: actions/upload-release-asset@v1.0.1
|
uses: actions/upload-release-asset@v1.0.1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user