Fixed bug
This commit is contained in:
parent
55bf6e03a7
commit
9aaf724358
1 changed files with 4 additions and 2 deletions
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
@ -48,6 +48,9 @@ jobs:
|
||||||
release_name: Release ${{ github.ref }}
|
release_name: Release ${{ github.ref }}
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
- name: Set version
|
||||||
|
id: version
|
||||||
|
run: echo ::set-output name=VERSION::${GITHUB_REF:10}
|
||||||
- name: Download CentOS 6 build artifacts
|
- name: Download CentOS 6 build artifacts
|
||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v1
|
||||||
with:
|
with:
|
||||||
|
@ -56,9 +59,8 @@ jobs:
|
||||||
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 }}
|
||||||
VERSION: ${GITHUB_REF:10}
|
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
asset_path: centos6_build/centos6_build.tar.gz
|
asset_path: centos6_build/centos6_build.tar.gz
|
||||||
asset_name: xmrig-${{VERSION}}-lin64.tar.gz
|
asset_name: xmrig-${{steps.version.outputs.VERSION}}-lin64.tar.gz
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue