Skip to content

Commit

Permalink
ci: add sample artifacts #65
Browse files Browse the repository at this point in the history
  • Loading branch information
neko-para committed Oct 11, 2023
1 parent 8f4a4bf commit feddb7d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,25 @@ jobs:
name: MAA-macos-${{ matrix.arch }}
path: "install"

sample_bindings:
runs-on: ubuntu-latest

steps:
- name: Prepare sample
run: |
mkdir -p install.sample
cp -r binding install.sample
cp -r sample install.sample
rm -r install.sample/sample/cpp
mkdir install.sample/sample/cpp
cp sample/cpp/main.cpp install.sample/sample/cpp/
- uses: actions/upload-artifact@v3
if: always()
with:
name: MAA-samples-bindings
path: "install.sample"

nuget_pack:
needs: [meta, windows, ubuntu, macos]
runs-on: ubuntu-latest
Expand Down

0 comments on commit feddb7d

Please sign in to comment.