Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnlentink committed Mar 20, 2024
1 parent 12ce645 commit ca69e4b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:."
Expand All @@ -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:
Expand Down

0 comments on commit ca69e4b

Please sign in to comment.