Skip to content

2.59.0

2.59.0 #58

name: Make Release Artifacts
on:
pull_request:
types:
- reopened
- opened
- synchronize
workflow_dispatch:
inputs:
tag:
type: string
description: 'The release tag that should be referenced (i.e. `v1.2.3`)'
required: true
force:
type: boolean
description: 'Force the release artifacts to be created and uploaded'
required: false
default: false
jobs:
run:
if: github.event_name == 'workflow_dispatch' || startsWith( github.head_ref, 'release/')
uses: rokucommunity/workflows/.github/workflows/make-release-artifacts.yml@master
with:
branch: ${{ github.event.inputs.tag || github.event.pull_request.head.ref }}
node-version: "18.18.2"
artifact-paths: "*.vsix"
force: ${{ github.event.inputs.force == 'true' }}
secrets: inherit
success-or-skip:
if: always()
needs: [run]
runs-on: ubuntu-latest
steps:
- run: if [ "${{ needs.run.result }}" = "failure" ]; then exit 1; fi