ci: update artifact path in build workflow for Windows release #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |