Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build-publish.yml #2

Merged
merged 2 commits into from
Sep 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 20 additions & 5 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and publish mixnode
name: Build and publish mixnode, gateway, network-requester

on:
workflow_dispatch:
Expand All @@ -9,7 +9,7 @@ on:
default: develop

jobs:
build:
build-publish:
runs-on: [ self-hosted, custom-linux ]
# Enable sccache via environment variable
env:
Expand All @@ -36,12 +36,27 @@ jobs:
- name: Build all binaries
uses: actions-rs/cargo@v1
with:
command: build --release
args: --workspace
command: build
args: --release --workspace

- name: Upload Artifact
- name: nym-mixnode
uses: actions/upload-artifact@v3
with:
name: nym-mixnode
path: target/release/nym-mixnode
retention-days: 1

- name: nym-gateway
uses: actions/upload-artifact@v3
with:
name: nym-gateway
path: target/release/nym-gateway
retention-days: 1

- name: nym-network-requester
uses: actions/upload-artifact@v3
with:
name: nym-network-requester
path: target/release/nym-network-requester
retention-days: 1

Loading