Skip to content

Fixing action matrix #12

Fixing action matrix

Fixing action matrix #12

Workflow file for this run

# For this to be triggered, need to run the following:
# git tag -a v*.*.* -m 'Description of release.'
# git push origin v*.*.*
name: build
on: push
# push:
# tags:
# - v*.*.*
jobs:
build:
defaults:
run:
shell: bash -l {0}
strategy:
matrix:
python-version: ['3.11']
os: [macos-latest, windows-latest]
# Control the os/python builds
name: ${{ matrix.os }} Build and Release
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Source
uses: actions/checkout@v3
with:
fetch-depth: 2
# Installs environment
- name: Install Conda and Environment
uses: ./.github/actions/install-conda
with:
python-version: ${{ matrix.python-version }}
- name: Build binaries
uses: ./.github/actions/run-build
- name: Create Release
# if: successful()
uses: ./.github/actions/run-release
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}