Skip to content

Commit

Permalink
ci: temporary change to allow manual publish
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissimon-au committed Sep 20, 2024
1 parent 5977c02 commit 0f84478
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/contextive-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ on:
release:
types: [published]
## Keeping in Comments as may be helpful for future publish-rescue requirements
# workflow_dispatch:
# inputs:
# release:
# description: 'Release to publish'
# required: true
# type: string
workflow_dispatch:
inputs:
release:
description: 'Release to publish'
required: true
type: string


env:
Expand All @@ -27,8 +27,8 @@ jobs:
matrix: ${{ fromJSON(needs.get-matrix.outputs.matrix) }}
uses: ./.github/workflows/contextive-runtime-publish.yml
with:
release: ${{ github.ref_name }}
# release: ${{ inputs.release }} # Use this if switching to manual publish
# release: ${{ github.ref_name }}
release: ${{ inputs.release }} # Use this if switching to manual publish
dotnet_runtime: ${{ matrix.dotnet_runtime }}
os: ${{ matrix.os }}
vsce_platform: ${{ matrix.vsce_platform }}
Expand All @@ -54,8 +54,8 @@ jobs:

- name: Build
id: build
run: dotnet fsi intellij/build.fsx -- --release ${{ github.ref_name }}
# run: dotnet fsi intellij/build.fsx -- --release ${{ inputs.release }} # Use this if switching to manual publishg
# run: dotnet fsi intellij/build.fsx -- --release ${{ github.ref_name }}
run: dotnet fsi intellij/build.fsx -- --release ${{ inputs.release }} # Use this if switching to manual publishg
working-directory: src
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down

0 comments on commit 0f84478

Please sign in to comment.