Skip to content

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
with:
id: release
token: ${{ secrets.TOKEN_RELEASE_PLEASE }}
release-type: simple
target-branch: test-release-please
- name: Generate plasmoid package
run: |
cd ./src
zip -r ../plasmusic-toolbar-${{steps.release.outputs.tag_name}}.plasmoid .
- uses: actions/upload-artifact@v3
with:
name: plasmusic-toolbar-${{steps.release.outputs.tag_name}}.plasmoid
path: 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 }} ./artifact/plasmusic-toolbar-${{steps.release.outputs.tag_name}}.plasmoid