v4.0.4-1.0.2-rc2 #64
Workflow file for this run
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
name: Artifacts Build | |
on: | |
release: | |
types: [published] | |
workflow_dispatch: | |
jobs: | |
build-20: | |
name: Build nodeos | |
runs-on: ubuntu-20.04 | |
outputs: | |
version: ${{ steps.set_version.outputs.version }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install deps | |
run: sudo scripts/install_deps.sh | |
- name: Build | |
run: sudo scripts/pinned_build.sh deps build 2 | |
- name: Set version | |
id: set_version | |
run: | | |
echo "version=$(./build/bin/nodeos --version)" >> $GITHUB_OUTPUT | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
./build/leap*.deb | |
./build/leap*.rpm | |
./build/leap*.tar.gz | |
build-22: | |
name: Build nodeos | |
runs-on: ubuntu-22.04 | |
needs: [build-20] | |
outputs: | |
version: ${{ steps.set_version.outputs.version }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install deps | |
run: sudo scripts/install_deps.sh | |
- name: Build | |
run: sudo scripts/pinned_build.sh deps build 2 | |
- name: Set version | |
id: set_version | |
run: | | |
echo "version=$(./build/bin/nodeos --version)" >> $GITHUB_OUTPUT | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
./build/leap*.deb | |
./build/leap*.rpm | |
./build/leap*.tar.gz | |