From ca69e4b0fa6626ae28676b7a4a988d0dadfa1c98 Mon Sep 17 00:00:00 2001 From: Martijn Lentink Date: Wed, 20 Mar 2024 10:55:12 +0100 Subject: [PATCH] Update --- .github/workflows/main.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e3c6d9f..f7d0015 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.10 + python-version: 3.10.13 - run: pip install -r requirements.txt pyinstaller - run: pyinstaller -c -F bible_import.py --add-data "Resources/metadata.xml:." @@ -30,13 +30,13 @@ jobs: if: matrix.abbr == 'OSX' run: chmod +x dist/bible_import - - name: Compress artifacts - run: | - if [ "${{ matrix.abbr }}" = "WIN" ]; then - tar -a -c -f bible_import_${{ matrix.abbr }}.${{ matrix.archive }} ./dist/* - else - tar -cvf bible_import_${{ matrix.abbr }}.${{ matrix.archive }} ./dist/* - fi + - name: Compress artifacts OSX + if: matrix.abbr == 'OSX' + run: tar -cvf bible_import_${{ matrix.abbr }}.${{ matrix.archive }} ./dist/* + + - name: Compress artifacts WIN + if: matrix.abbr == 'WIN' + run: tar -a -c -f bible_import_${{ matrix.abbr }}.${{ matrix.archive }} ./dist/* - uses: actions/upload-artifact@v4 with: