mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-12 01:42:48 -05:00
Fixed bug
This commit is contained in:
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@@ -3,7 +3,7 @@ on:
|
|||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
|
|
||||||
name: Create release and build artifacts from v* tag
|
name: Create release and build artifacts
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_lin_rh6:
|
build_lin_rh6:
|
||||||
@@ -27,12 +27,12 @@ jobs:
|
|||||||
scl enable devtoolset-6 "make -j$(nproc)"
|
scl enable devtoolset-6 "make -j$(nproc)"
|
||||||
cp src/config.json .
|
cp src/config.json .
|
||||||
mv xmrig-notls xmrig
|
mv xmrig-notls xmrig
|
||||||
tar cfz centos6.tar.gz xmrig config.json
|
tar cfz centos6_build.tar.gz xmrig config.json
|
||||||
- name: Upload CentOS 6 build artifacts
|
- name: Upload CentOS 6 build artifacts
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: centos6_build
|
name: centos6_build
|
||||||
path: centos6.tar.gz
|
path: centos6_build.tar.gz
|
||||||
deploy:
|
deploy:
|
||||||
needs: build_lin_rh6
|
needs: build_lin_rh6
|
||||||
name: Create release and upload artifacts
|
name: Create release and upload artifacts
|
||||||
@@ -58,6 +58,6 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
asset_path: centos6.tar.gz
|
asset_path: centos6_build/centos6_build.tar.gz
|
||||||
asset_name: xmrig-${GITHUB_REF:10}-lin64.tar.gz
|
asset_name: xmrig-${GITHUB_REF:10}-lin64.tar.gz
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
|
|||||||
Reference in New Issue
Block a user