Skip to content

Merge pull request #15 from wsp1911/main #2

Merge pull request #15 from wsp1911/main

Merge pull request #15 from wsp1911/main #2

name: Release Please
on:
push:
branches: [main]
permissions:
contents: write
pull-requests: write
jobs:
release-please:
name: Release Please
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
version: ${{ steps.release.outputs.version }}
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
# When a release is created, trigger the desktop package workflow
trigger-package:
name: Trigger Desktop Package
needs: release-please
if: ${{ needs.release-please.outputs.release_created }}
runs-on: ubuntu-latest
permissions:
actions: write
contents: read
steps:
- name: Log release info
run: |
echo "Release created: ${{ needs.release-please.outputs.tag_name }}"
echo "Version: ${{ needs.release-please.outputs.version }}"