mirror of
https://github.com/Bismuth-Forge/bismuth.git
synced 2024-09-11 00:15:37 +03:00
ci: 👷 publish artifacts on release
This commit is contained in:
parent
9d54183655
commit
00232db421
23
.github/workflows/release-please.yml
vendored
23
.github/workflows/release-please.yml
vendored
@ -11,9 +11,30 @@ on:
|
||||
|
||||
jobs:
|
||||
release-please:
|
||||
name: Release Please
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: GoogleCloudPlatform/release-please-action@v2
|
||||
- name: Release Please 🔖
|
||||
uses: GoogleCloudPlatform/release-please-action@v2
|
||||
id: release
|
||||
with:
|
||||
release-type: node
|
||||
package-name: release-please-action
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
if: ${{ steps.release.outputs.release_created }}
|
||||
|
||||
- name: Package 📦
|
||||
run: |
|
||||
npm install
|
||||
npm run package
|
||||
if: ${{ steps.release.outputs.release_created }}
|
||||
|
||||
- name: Publish 🎉
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: ${{ steps.release.outputs.tag_name }}
|
||||
files: |
|
||||
build/package/bismuth.tar.gz
|
||||
build/package/bismuth.kwinscript
|
||||
if: ${{ steps.release.outputs.release_created }}
|
||||
|
Loading…
Reference in New Issue
Block a user