Skip to content

Commit

Permalink
publish ⚒️
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasByr committed Dec 10, 2023
1 parent 38a6eb8 commit 4644476
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
name: Build and Publish

on:
release:
types: [published]
push:
tags:
- v* # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
publish:
name: Publish for ${{ matrix.os }} Python ${{ matrix.python-version }}
name: Publish for ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
max-parallel: 4
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: ["3.11"]
permissions: write-all

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: 3.11
cache: "pip"
- run: pip install -r requirements.txt pyinstaller
- run: pyinstaller --add-data assets:assets genome.py
Expand All @@ -36,4 +36,4 @@ jobs:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: genome.exe.zip
tag: ${{ github.ref }}
asset_name: "genome (${{ matrix.os }} py${{ matrix.python-version }}).zip"
asset_name: "genome_${{ matrix.os }}.zip"

0 comments on commit 4644476

Please sign in to comment.