diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b3ab4796..83322479 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,8 +2,8 @@ name: deploy on: push: - tags: - - '*' +# tags: +# - '*' env: SRC_DIR: zxlive @@ -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: @@ -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" \ No newline at end of file + - 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/* \ No newline at end of file