Skip to content

Ci updates

Ci updates #5

Workflow file for this run

name: Store Dokka Artifact
on:
workflow_dispatch:
inputs:
version:
description: 'Version of library that is being documented'
required: true
type: string
buildTypeId:
description: 'TeamCity build configuration id'
required: true
type: string
buildId:
description: 'TeamCity build id'
required: true
type: string
artifactName:
description: 'Name of artifact to download'
required: true
type: string
pull_request:
jobs:
store-dokka-artifact:
name: Store Dokka Artifact
runs-on: ubuntu-latest
steps:
- name: Download Dokka artifact
run: |
curl -v -s -f -L \
https://krpc.teamcity.com/repository/download/${{ inputs.buildTypeId }}/${{ inputs.buildId }}:id/${{ inputs.artifactName }} \
-o dokka.zip
- name: Save artifact
uses: actions/upload-artifact@v4
with:
name: dokka-${{ inputs.version }}
path: dokka.zip
retention-days: 21