Skip to content

Commit

Permalink
ci: add reelase workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
daxartio committed Oct 1, 2023
1 parent 87346f3 commit 99eb02f
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.8'
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Release

on:
push:
tags:
- "v*"
workflow_dispatch:

jobs:
release:
name: Release
strategy:
matrix:
include:
- os: windows-2022
target: x86_64-pc-windows-msvc
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Install python dependencies
run: pip install poetry && poetry install -E win
- name: Build
run: python builder.py build
# - name: Publish
# uses: softprops/action-gh-release@v1
# with:
# files: "output*"
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 99eb02f

Please sign in to comment.