Fixed bug
This commit is contained in:
parent
d03b4ba9d7
commit
e956e47b12
1 changed files with 3 additions and 4 deletions
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
|
@ -27,13 +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 xmrig-${GITHUB_REF:10}-lin64.tar.gz xmrig config.json
|
tar cfz centos6.tar.gz xmrig config.json
|
||||||
ls -la ${GITHUB_WORKSPACE}/xmrig-${GITHUB_REF:10}-lin64.tar.gz
|
|
||||||
- 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: xmrig-${GITHUB_REF:10}-lin64.tar.gz
|
path: centos6.tar.gz
|
||||||
deploy:
|
deploy:
|
||||||
needs: build_lin_rh6
|
needs: build_lin_rh6
|
||||||
name: Create release and upload artifacts
|
name: Create release and upload artifacts
|
||||||
|
@ -59,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: ./xmrig-${GITHUB_REF:10}-lin64.tar.gz
|
asset_path: ./centos6.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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue