-
Notifications
You must be signed in to change notification settings - Fork 7
37 lines (31 loc) · 1.07 KB
/
release-please.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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 ./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