Skip to content

Commit

Permalink
Uploading release artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
linsomniac committed Feb 23, 2024
1 parent d016134 commit db40faa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/briefcase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,6 @@ jobs:
- name: Build with Briefcase
run: briefcase create windows && briefcase build windows && briefcase package windows

# - name: Upload installer as an artifact
# uses: actions/upload-artifact@v4
# with:
# name: Spotify2YTMusic-Windows-Installer
# path: dist/Spotify2YTMusic-*.msi
#
# - name: Download Artifact
# uses: actions/download-artifact@v2
# with:
# name: Spotify2YTMusic-Windows-Installer

- name: Show files
run: |
ls
ls dist
- name: Upload Release Asset
uses: softprops/action-gh-release@v1
if: github.event_name == 'release' && github.event.action == 'released'
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ on:
release:
types: [released]

permissions:
contents: write

jobs:
deploy:
environment:
Expand Down Expand Up @@ -45,3 +48,10 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
- name: Upload Release Asset
uses: softprops/action-gh-release@v1
if: github.event_name == 'release' && github.event.action == 'released'
with:
files: dist/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit db40faa

Please sign in to comment.