Contextive Publish #20
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: Contextive Publish | |
on: | |
workflow_dispatch: | |
inputs: | |
release: | |
description: 'Release to publish' | |
required: true | |
type: string | |
# temporary removal to allow repair of v1.11.0 vscode extension publishing | |
# release: | |
# types: [published] | |
env: | |
dotnet-version: '7.0.x' | |
jobs: | |
get-matrix: | |
uses: ./.github/workflows/get-matrix.yml | |
with: | |
matrix-path: .github/release-matrix.yml | |
publish-per-runtime: | |
needs: get-matrix | |
strategy: | |
fail-fast: false | |
matrix: ${{ fromJSON(needs.get-matrix.outputs.matrix) }} | |
uses: ./.github/workflows/contextive-runtime-publish.yml | |
with: | |
release: ${{ inputs.release }} #${{ github.ref_name }} # temporary removal to allow repair of v1.11.0 vscode extension publishing | |
dotnet_runtime: ${{ matrix.dotnet_runtime }} | |
os: ${{ matrix.os }} | |
vsce_platform: ${{ matrix.vsce_platform }} | |
secrets: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
VSCE_PAT: ${{ secrets.VSCE_PAT }} | |
publish-intellij: | |
name: Contextive IntelliJ Publish | |
runs-on: 'ubuntu-latest' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- uses: ./.github/actions/init-dotnet | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'corretto' | |
java-version: '21' | |
- name: Build | |
id: build | |
run: dotnet fsi intellij/build.fsx -- --release ${{ inputs.release }} #${{ github.ref_name }} # temporary removal to allow repair of v1.11.0 vscode extension publishing | |
working-directory: src | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
CERTIFICATE_CHAIN: ${{ secrets.JETBRAINS_CERTIFICATE_CHAIN }} | |
PRIVATE_KEY: ${{ secrets.JETBRAINS_PRIVATE_KEY }} | |
PRIVATE_KEY_PASSWORD: ${{ secrets.JETBRAINS_PRIVATE_KEY_PASSWORD }} | |
PUBLISH_TOKEN: ${{ secrets.JETBRAINS_PUBLISH_TOKEN }} | |