Skip to content

fix link

fix link #41

Workflow file for this run

name: Build
on:
push:
env:
CARGO_TERM_COLOR: always
jobs:
build:
if: ${{ contains(github.event.commits[0].message, '+build') || !contains(github.event.commits[0].message, '-build') && !contains(github.event.commits[0].message, '+release') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --release
- name: Pack
run: |
mkdir target/pingpong || rm -rf target/pingpong/*
mv target/release/pingpong target/pingpong/pingpong
cp -r config target/pingpong/config
- name: Upload
uses: actions/upload-artifact@v4
with:
name: pingpong.zip
path: target/pingpong