Skip to content

Commit

Permalink
Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
tnunamak committed Mar 8, 2024
1 parent 788eb9c commit 74c034a
Show file tree
Hide file tree
Showing 3 changed files with 145 additions and 1,876 deletions.
33 changes: 21 additions & 12 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,21 @@ name: Build with PyInstaller

on:
push:
branches: [main, fixes]
# branches: [main]
branches: [fixes-3-7]
pull_request:
branches: [main, fixes]
# branches: [main]
branches: [fixes-3-7]

jobs:
build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [macos-latest-xlarge]
# os: [ubuntu-latest, macos-latest-xlarge, windows-latest]
# os: [macos-latest-xlarge]
os: [ubuntu-latest]
python-version: [3.11]

steps:
Expand All @@ -32,8 +35,7 @@ jobs:
cache-dependency-path: poetry.lock

- name: Install dependencies with Poetry
# run: poetry install --no-dev
run: poetry install
run: poetry install --no-dev

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
Expand Down Expand Up @@ -61,14 +63,21 @@ jobs:
run: poetry run pyinstaller selfie.spec --noconfirm
shell: bash

- name: Archive Build Output
run: |
cd dist
tar -czvf selfie-build.tar.gz *
shell: bash
# - name: Archive Build Output
# run: |
# cd dist
# tar -czvf selfie-build.tar.gz *
# shell: bash
#
# - name: Upload Artifact
# uses: actions/upload-artifact@v4
# with:
# name: ${{ matrix.os }}-build
# path: dist/selfie-build.tar.gz

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-build
path: dist/selfie-build.tar.gz
path: .
overwrite: true
Loading

0 comments on commit 74c034a

Please sign in to comment.