Skip to content

Commit

Permalink
test release please
Browse files Browse the repository at this point in the history
  • Loading branch information
ccatterina committed Dec 9, 2023
1 parent a7e0b3b commit c9aa473
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
on:
push:
branches:
- test-release-please

permissions:
contents: write
pull-requests: write

name: release-please

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- 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 ./contents
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

0 comments on commit c9aa473

Please sign in to comment.