diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d291ac8..6cb815c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,11 +27,9 @@ jobs: python-version: "3.11" cache: "pip" - - name: Install dependencies - run: | - pip install -r requirements.txt -U - pip install pyinstaller -U - + - name: Install dependencies and PyInstaller + run: pip install -r requirements.txt pyinstaller -U + - name: Build ${{ matrix.name }} run: pyinstaller -y -F ${{ matrix.mode }} -i "${{ matrix.icon }}" --clean --name "${{ matrix.name }}" --add-data "base.py;." --add-data "colors.py;." --add-data "README.md;." --add-data "LICENSE;." "${{ matrix.name == 'DUCE-GUI-windows' && 'gui.py' || 'cli.py' }}" @@ -40,21 +38,4 @@ jobs: with: name: ${{ matrix.name }}.exe path: ./dist/${{ matrix.name }}.exe - - - name: List dist directory - run: dir ./dist - - upload: - needs: build - runs-on: windows-latest - steps: - - uses: actions/checkout@v4 - - name: Upload DUCE - uses: actions/upload-artifact@v4 - with: - name: DUCE-windows - path: ./dist/ - - - name: List dist directory - run: dir ./dist - \ No newline at end of file + \ No newline at end of file