Skip to content

Commit

Permalink
Update 'build_upload_mithril_artifact' action
Browse files Browse the repository at this point in the history
Avoid unwanted usage of features when building the artifacts from the workspace.
Split in 2 phases: tooling first and then distribution.
  • Loading branch information
jpraynaud committed Dec 19, 2022
1 parent f54946b commit fcd16bb
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,14 @@ runs:
pip3 install toml
python3 ./.github/workflows/scripts/edit-cargo-toml-version.py -l $(echo ${{ github.sha }} | cut -c1-7)
- name: Cargo build
- name: Cargo build - Tooling
shell: bash
run: cargo build --release ${{ inputs.build-args }}
run: cargo build --release ${{ inputs.build-args }} --workspace --exclude mithril-aggregator --exclude mithril-client --exclude mithril-signer --exclude mithril-stm

- name: Cargo build - Distribution
shell: bash
run: cargo build --release ${{ inputs.build-args }} -p mithril-aggregator -p mithril-client -p mithril-common -p mithril-signer -p mithril-stm

- name: Publish Mithril Distribution (${{ runner.os }}-${{ runner.arch }})
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit fcd16bb

Please sign in to comment.