Add privacy setting option for playlist creation and copy functions #47
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 with Briefcase | |
on: | |
release: | |
types: [released] | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
build-and-upload: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install briefcase | |
- name: Update Application Version | |
if: github.event_name == 'release' && github.event.action == 'released' | |
run: | | |
(Get-Content pyproject.toml) -replace 'version = ".*"', 'version = "${{ github.ref_name }}"' | Set-Content pyproject.toml | |
shell: pwsh | |
- name: Build with Briefcase | |
run: briefcase create windows && briefcase build windows && briefcase package windows | |
- name: Upload Release Asset | |
uses: softprops/action-gh-release@v1 | |
if: github.event_name == 'release' && github.event.action == 'released' | |
with: | |
files: dist/*.msi | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |