-
Notifications
You must be signed in to change notification settings - Fork 5
44 lines (35 loc) · 1.1 KB
/
build-credential-proxy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Build credential proxy
on:
workflow_dispatch:
env:
NETWORK: mainnet
jobs:
build:
strategy:
fail-fast: false
matrix:
platform: [custom-ubuntu-20.04]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: Install Dependencies (Linux)
run: sudo apt-get update && sudo apt-get -y install ripgrep libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libudev-dev squashfs-tools
continue-on-error: true
- name: Check out repository code
uses: actions/checkout@v4
with:
repository: nymtech/nym
ref: ${{ inputs.ref }}
- name: Install Rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Build binary
run: cd nym-credential-proxy/nym-credential-proxy && cargo build --release
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: my-artifact
path: |
nym-credential-proxy/target/release/nym-credential-proxy
retention-days: 30