mirror of
https://github.com/QuantEngines/fx_quant_engine.git
synced 2026-08-01 12:57:44 +00:00
Initial commit: fx_quant_engine and options_quant_engine scaffold
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
name: fx-quant-engine-release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-release-artifacts:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
|
||||
- name: Install build tools
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install build twine
|
||||
|
||||
- name: Build wheel and sdist
|
||||
run: python -m build
|
||||
|
||||
- name: Verify artifacts
|
||||
run: twine check dist/*
|
||||
|
||||
- name: Upload release distribution artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: fx-quant-engine-dist
|
||||
path: dist/*
|
||||
retention-days: 90
|
||||
|
||||
- name: Create GitHub release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: dist/*
|
||||
generate_release_notes: true
|
||||
Reference in New Issue
Block a user