Fixed bug

This commit is contained in:
MoneroOcean 2020-01-20 14:53:37 +07:00
parent 98c6edf994
commit 64a25dfe08

View file

@ -7,11 +7,11 @@ name: Create release and build artifacts from v* tag
jobs:
build_lin_rh6:
name: Builds CentOS 6 artifacts from v* tag
name: Build CentOS 6 artifacts
runs-on: ubuntu-latest
container: centos:6
steps:
- name: Prepare tools
- name: Prepare CentOS 6 tools
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++
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
uses: actions/upload-artifact@v1
with:
name: xmrig-${{github.ref}}-lin64.tar.gz
name: centos6_build
path: ./xmrig-${{github.ref}}-lin64.tar.gz
deploy:
needs: build_lin_rh6
name: Create release and upload artifacts from v* tag
name: Create release and upload artifacts
runs-on: ubuntu-latest
steps:
- name: Create Release
id: create_release
uses: actions/create-release@v1.0.0
@ -47,9 +48,8 @@ jobs:
- name: Download CentOS 6 build artifact
uses: actions/download-artifact@v1
with:
name: homework
name: centos6_build
- name: Upload CentOS 6 build release asset
id: upload-release-asset
uses: actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}