Skip to content

ci: update artifact path in build workflow for Windows release #10

ci: update artifact path in build workflow for Windows release

ci: update artifact path in build workflow for Windows release #10

Workflow file for this run

name: Build & Release App πŸš€
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
windows:
name: Windows πŸ› 
runs-on: windows-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v4
- name: Setup Python πŸ“
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip"
cache-dependency-path: requirements*.txt
- name: Install Dependencies βš™
run: pip install -r requirements.txt
- name: Compile With Nuitka πŸ’’
uses: Nuitka/Nuitka-Action@main
with:
nuitka-version: main
script-name: src/main.py
mode: app
enable-plugins: tk-inter
- name: Change File Format ✨
run: cp build/main.exe Py-Screen-Saver-win.scr
- name: Upload Artifact πŸ“€
uses: actions/upload-artifact@v4
with:
name: windows
path: Py-Screen-Saver-win.scr
release:
needs: windows
name: Release πŸ“š
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v4
- name: Download Artifact πŸ“₯
uses: actions/download-artifact@v4
with:
name: windows
path: builds
- name: Create Release ⭐
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
files: builds/Py-Screen-Saver-win.scr