Fixed bug

This commit is contained in:
MoneroOcean 2020-01-20 15:19:26 +07:00
parent 29faa30182
commit 1489966833

View file

@ -19,7 +19,7 @@ jobs:
- name: Checkout code
run: |
git clone https://github.com/MoneroOcean/xmrig.git
git checkout ${{github.ref}}
git checkout ${{github.ref:10}}
cd xmrig
- name: Build project on CentOS 6
run: |
@ -27,12 +27,12 @@ jobs:
scl enable devtoolset-6 "make -j$(nproc)"
cp src/config.json .
mv xmrig-notls xmrig
tar cfz xmrig-${{github.ref}}-lin64.tar.gz xmrig config.json
tar cfz xmrig-${{github.ref:10}}-lin64.tar.gz xmrig config.json
- name: Upload CentOS 6 build artifact
uses: actions/upload-artifact@v1
with:
name: centos6_build
path: ./xmrig-${{github.ref}}-lin64.tar.gz
path: ./xmrig-${{github.ref:10}}-lin64.tar.gz
deploy:
needs: build_lin_rh6
name: Create release and upload artifacts
@ -44,8 +44,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
tag_name: ${{ github.ref:10 }}
release_name: Release ${{ github.ref:10 }}
draft: false
prerelease: false
- name: Download CentOS 6 build artifact
@ -58,6 +58,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./xmrig-${{github.ref}}-lin64.tar.gz
asset_name: xmrig-${{github.ref}}-lin64.tar.gz
asset_path: ./xmrig-${{github.ref:10}}-lin64.tar.gz
asset_name: xmrig-${{github.ref:10}}-lin64.tar.gz
asset_content_type: application/zip