-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kim Fehrs
committed
Jul 19, 2023
1 parent
dd9e64b
commit 2ddb3a7
Showing
2 changed files
with
34 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,16 +67,26 @@ jobs: | |
token: ${{ secrets.GITHUB_TOKEN }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Build the binary for ubuntu | ||
- name: Build the binary for ubuntu jammy | ||
run: | | ||
cd node-runner-cli | ||
make output-ubuntu-focal | ||
make output-ubuntu-jammy | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: "Upload generated cli file" | ||
uses: actions/[email protected] | ||
with: | ||
name: ubuntu 22.04 | ||
path: "${{ github.workspace }}/node-runner-cli/out/ubuntu/jammy/radixnode" | ||
- name: Build the binary for ubuntu focal | ||
run: | | ||
make output-ubuntu-focal | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: "Upload generated cli file" | ||
uses: actions/[email protected] | ||
with: | ||
name: ubuntu 20.04 | ||
path: "${{ github.workspace }}/node-runner-cli/out/ubuntu/focal/radixnode" | ||
|
||
upload-asset-store: | ||
|
@@ -119,7 +129,7 @@ jobs: | |
ls */** | ||
aws s3 cp radixnode s3://${{secrets.ARTIFACT_AWS_BUCKET }}/radixnode/${{env.BRANCH_WITH_COMMIT}}/radixnode-ubuntu-22.04 | ||
upload-release: | ||
upload-release-jammy: | ||
runs-on: ubuntu-22.04 | ||
if: ${{ github.event_name == 'release' }} | ||
needs: | ||
|
@@ -129,18 +139,33 @@ jobs: | |
uses: actions/download-artifact@v3 | ||
with: | ||
name: ubuntu 22.04 | ||
- name: Get release | ||
id: get_release | ||
uses: bruceadams/[email protected] | ||
- name: Upload radixcli ubuntu binary | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ./radixnode | ||
asset_name: radixnode-ubuntu-22.04 | ||
asset_content_type: application/octet-stream | ||
if: ${{ github.event_name == 'release' }} | ||
|
||
upload-release-focal: | ||
runs-on: ubuntu-20.04 | ||
if: ${{ github.event_name == 'release' }} | ||
needs: | ||
- package_ubuntu_cli | ||
steps: | ||
- name: Download packaged cli | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: ubuntu 20.04 | ||
- name: Upload radixcli ubuntu binary | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ./radixnode | ||
asset_name: radixnode-ubuntu-22.04 | ||
asset_content_type: application/octet-stream | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
__version__= "2.0.rcnet-v2-rc1-2-gd7e7925" | ||
__version__= "2.0.rcnet-v2-rc1-3-gdd9e64b" | ||
__base_version__= "2.0.rcnet-v2-rc1" |