Skip to content

Commit

Permalink
Attempt at uploading Windows installer on release
Browse files Browse the repository at this point in the history
  • Loading branch information
linsomniac committed Feb 23, 2024
1 parent 95ade13 commit f75173e
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/briefcase.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: Build with Briefcase

on:
release:
types: [released]
push:
branches:
- main

jobs:
build:
build-and-upload:
runs-on: windows-latest

steps:
Expand All @@ -28,5 +30,14 @@ jobs:
- name: Upload installer as an artifact
uses: actions/upload-artifact@v4
with:
name: installer
name: Spotify2YTMusic-Windows-Installer
path: dist/Spotify2YTMusic-*.msi

- name: Upload Release Asset
uses: softprops/action-gh-release@v1
#if: startsWith(github.ref, 'refs/tags/')
if: github.event_name == 'release' && github.event.action == 'released'
with:
files: dist/Spotify2YTMusic-*.msi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f75173e

Please sign in to comment.