Skip to content

Deploy

Deploy #9

Workflow file for this run

name: Deploy
on:
push:
branches: [ test_deploy ]
tags:
- '*'
jobs:
deploy:
name: Deploy
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, [macOS, ARM64]]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: s-weigand/setup-conda@v1
if: ${{ matrix.os == 'ubuntu-latest' }}
#- run: conda init bash
- name: Build
run: |
#uname -a
#ps
git fetch --tags
conda config --set solver libmamba
#echo $PATH
#env|grep CONDA
#if [ -r /usr/share/miniconda]; then ls /usr/share/miniconda ; fi
#if [ -r ~/.bash_profile ]; then echo sourcing ~/.bash_profile; cat ~/.bash_profile; source ~/.bash_profile ; fi
. $(dirname $CONDA_EXE)/../etc/profile.d/conda.sh
conda create -n QtMolpro-github
conda activate QtMolpro-github
#echo $PATH
#conda install -y -c conda-forge pyinstaller
bash build.sh
- name: Upload
uses: actions/upload-artifact@v3
with:
# name: ${{ matrix.os }}
path: |
dist/*bz2
dist/*dmg
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
dist/*bz2
dist/*dmg