Merge pull request #253 from themoeway/reduce-dependabot-frequency #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create prerelease on tag | |
on: | |
push: | |
tags: | |
- "*.*.*.*" | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build-release-publish: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: write | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: ".node-version" | |
- name: Lint | |
run: npm run-script build -- --yomitan-version ${{ github.ref_name }} | |
shell: bash | |
- name: Release | |
id: release | |
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # [email protected] | |
with: | |
generate_release_notes: true | |
prerelease: true | |
files: builds/* | |
- name: Dispatch publish-chrome-development | |
uses: aurelien-baudet/workflow-dispatch@93e95b157d791ae7f42aef8f8a0d3d723eba1c31 # pin@v2 | |
with: | |
workflow: publish-chrome-development | |
token: ${{ secrets.GITHUB_TOKEN }} | |
wait-for-completion: false | |
- name: Dispatch publish-firefox-development | |
uses: aurelien-baudet/workflow-dispatch@93e95b157d791ae7f42aef8f8a0d3d723eba1c31 # pin@v2 | |
with: | |
workflow: publish-firefox-development | |
token: ${{ secrets.GITHUB_TOKEN }} | |
wait-for-completion: false | |
inputs: '{ "upload_url": "${{ steps.release.outputs.upload_url }}" }' |