Skip to content

chore: ci release & version #10

chore: ci release & version

chore: ci release & version #10

Workflow file for this run

name: Pack Addon
on:
push:
tags:
- '*

Check failure on line 6 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
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: python ./scripts/release.py
- name: Get file name
run: |
echo "FILEPATH=$(Get-ChildItem ./dist/)" | Out-File -FilePath $env:GITHUB_ENV -Append
echo "BASENAME=$($(Get-ChildItem ./dist/).BaseName)" | Out-File -FilePath $env:GITHUB_ENV -Append
shell: pwsh
- name: Release
uses: softprops/action-gh-release@v2
with:
files: ${{ env.FILEPATH }}