Skip to content

fix: 匹配错误

fix: 匹配错误 #115

Workflow file for this run

name: Build
on:
push:
branches:
- main
tags:
- v*
pull_request:
branches:
- main
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest ]
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
with:
cache: poetry
- name: Install dependencies
run: |
poetry source remove mirrors
poetry lock --no-update
poetry self add "poetry-dynamic-versioning[plugin]"
poetry install
- name: Build program
run: poetry run build
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: pb-${{ matrix.os }}
path: dist/precise_bet/