Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continues deployment #143

Closed
wants to merge 5 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: deploy

on:
push:
tags:
- '*'
# tags:
# - '*'

env:
SRC_DIR: zxlive
Expand All @@ -12,7 +12,8 @@ jobs:
build_and_deploy:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
# os: [ ubuntu-latest, windows-latest, macos-latest ]
os: [ ubuntu-latest ]
python-version: [ 3.11 ]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -23,10 +24,11 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install base package
run: pip install cx_freeze
- name: Deploy
run: |
python deploy.py build
- name: Publish
run: |
ls build
echo "TODO: publish build/zxlive and the related files"
- name: Build MacOS
if: matrix.os == 'ubuntu-latest'
run: python deploy.py build
- name: Upload build
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}
path: build/*
Loading