ci: добавил архивацию в zip файлов сборки

This commit is contained in:
Maxim Slipenko 2023-09-28 10:53:36 +03:00
parent bdc530b2e0
commit cb34931151

View File

@ -42,12 +42,18 @@ jobs:
- name: Установка зависимостей - name: Установка зависимостей
run: poetry install run: poetry install
- name: Сборка - name: Сборка
run: poetry run pyinstaller ${{ matrix.spec }}.spec run: poetry run pyinstaller ${{ matrix.spec }}.spec\
- name: Архивация
uses: thedoctor0/zip-release@0.7.1
with:
type: 'zip'
filename: '${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.spec }}.zip'
path: 'dist'
- name: Загрузка артефактов - name: Загрузка артефактов
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: ${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.spec }} name: ${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.spec }}
path: ./dist/statapp* path: '${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.spec }}.zip'
release-please: release-please:
runs-on: ubuntu-latest runs-on: ubuntu-latest