Skip to content

ci: change upload-artifact parameters #3

ci: change upload-artifact parameters

ci: change upload-artifact parameters #3

Workflow file for this run

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: Get file name
run: echo "FILENAME=$(ls ./dist)" >> $GITHUB_ENV
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ env.FILENAME }}
path: "./dist/${{ env.FILENAME }}"