Skip to content

Commit

Permalink
add Github action
Browse files Browse the repository at this point in the history
  • Loading branch information
xVanTuring committed Jul 13, 2024
1 parent 044c865 commit 007ae74
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Pack Addon

on:
push:
branches: [ "dev" ]


jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
python-version: [ "3.10", "3.11" ]
name: "OS ${{ matrix.os }} Python ${{ matrix.python-version }}"
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Pack Addon
run: bash ./scripts/release.sh
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: ./dist/*.zip


0 comments on commit 007ae74

Please sign in to comment.