Skip to content

Merge pull request #38 from ccatterina/release-please--branches--test… #19

Merge pull request #38 from ccatterina/release-please--branches--test…

Merge pull request #38 from ccatterina/release-please--branches--test… #19

Workflow file for this run

on:
push:
branches:
- test-release-please
permissions:
contents: write
pull-requests: write
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: google-github-actions/release-please-action@v4
id: release
with:
token: ${{ secrets.TOKEN_RELEASE_PLEASE }}
target-branch: test-release-please
- name: Generate plasmoid package
if: ${{ steps.release.outputs.release_created }}
run: |
cd ./src
zip -r ../plasmusic-toolbar-${{steps.release.outputs.tag_name}}.plasmoid .
- name: Upload Release Artifact
if: ${{ steps.release.outputs.release_created }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.release.outputs.tag_name }} ./plasmusic-toolbar-${{steps.release.outputs.tag_name}}.plasmoid