Skip to content

Commit

Permalink
feat(ci): Adding CI to build different architectures of the plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
spbsoluble committed Jan 19, 2024
1 parent 0754030 commit 8740671
Showing 1 changed file with 16 additions and 40 deletions.
56 changes: 16 additions & 40 deletions .github/workflows/keyfactor-starter-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,19 @@
name: Starter Workflow
on: workflow_dispatch
name: Keyfactor Bootstrap Workflow

jobs:
catalog-update-check:
runs-on: windows-latest
outputs:
upd_cat: ${{ steps.read-json.outputs.prop }}
steps:
- uses: actions/checkout@v3
- name: Read json
id: read-json
shell: pwsh
run: |
$json = Get-Content integration-manifest.json | ConvertFrom-Json
echo "::set-output name=prop::$(echo $json.update_catalog)"
#call-create-github-release-workflow:
# uses: Keyfactor/actions/.github/workflows/github-release.yml@main

#call-dotnet-build-and-release-workflow:
# needs: [call-create-github-release-workflow]
# uses: Keyfactor/actions/.github/workflows/dotnet-build-and-release.yml@main
# with:
# release_version: ${{ needs.call-create-github-release-workflow.outputs.release_version }}
# release_url: ${{ needs.call-create-github-release-workflow.outputs.release_url }}
# release_dir: SslStoreCaProxy/bin/Release
# secrets:
# token: ${{ secrets.PRIVATE_PACKAGE_ACCESS }}
on:
workflow_dispatch:
pull_request:
types: [opened, closed, synchronize, edited, reopened]
push:
create:
branches:
- 'release-*.*'

call-generate-readme-workflow:
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
uses: Keyfactor/actions/.github/workflows/generate-readme.yml@main
jobs:
call-starter-workflow:
uses: keyfactor/actions/.github/workflows/starter.yml@v2
secrets:
token: ${{ secrets.APPROVE_README_PUSH }}

call-update-catalog-workflow:
needs: catalog-update-check
if: needs.catalog-update-check.outputs.upd_cat == 'True' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
uses: Keyfactor/actions/.github/workflows/update-catalog.yml@main
secrets:
token: ${{ secrets.SDK_SYNC_PAT }}

token: ${{ secrets.V2BUILDTOKEN}}
APPROVE_README_PUSH: ${{ secrets.APPROVE_README_PUSH}}
gpg_key: ${{ secrets.KF_GPG_PRIVATE_KEY }}
gpg_pass: ${{ secrets.KF_GPG_PASSPHRASE }}

0 comments on commit 8740671

Please sign in to comment.