mirror of
https://github.com/TeamPiped/piped-proxy.git
synced 2024-08-14 23:50:45 +00:00
28 lines
589 B
YAML
28 lines
589 B
YAML
name: Build using Cargo
|
|
|
|
on:
|
|
push:
|
|
paths-ignore:
|
|
- "**.md"
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
paths-ignore:
|
|
- "**.md"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: Swatinem/rust-cache@v2
|
|
- name: Set up NASM
|
|
uses: ilammy/setup-nasm@v1.4.0
|
|
- name: Build
|
|
run: cargo build --release
|
|
- run: mv target/release/piped-proxy piped-proxy
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: piped-proxy
|
|
path: piped-proxy
|