Skip to content

Commit

Permalink
Auto build data server
Browse files Browse the repository at this point in the history
  • Loading branch information
leng-yue committed Dec 19, 2023
1 parent e497414 commit eac3b68
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/data-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: data-server
on:
push:
branches:
- main
paths:
- data_server
workflow_dispatch: {}

jobs:
build:
name: release ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl]
steps:
- uses: actions/checkout@v4
- name: Compile
uses: rust-build/[email protected]
with:
RUSTTARGET: ${{ matrix.target }}
UPLOAD_MODE: none
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: Binary
path: |
${{ steps.compile.outputs.BUILT_ARCHIVE }}
${{ steps.compile.outputs.BUILT_CHECKSUM }}

0 comments on commit eac3b68

Please sign in to comment.