Skip to content

Use checkout action for notify workflow #22

Use checkout action for notify workflow

Use checkout action for notify workflow #22

Workflow file for this run

name: Smoke Test NetKAN
on:
pull_request:
types:
- opened
- synchronize
- reopened
workflow_call:
jobs:
build-release:
uses: ./.github/workflows/build.yml
with:
configuration: Release
smoke-test-inflator:
needs: build-release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: Release-repack-unsigned
path: _build/repack/
- name: Run inflator container smoke test
working-directory: _build
run: |
cp -v repack/Release/netkan.exe .
docker build --tag inflator --file ../Dockerfile.netkan .
docker run --rm --name inflator --entrypoint /bin/bash inflator -c "
mono netkan.exe https://raw.githubusercontent.com/KSP-CKAN/NetKAN/master/NetKAN/ZeroMiniAVC.netkan
"
notify:
needs:
- build-release
- smoke-test-inflator
if: failure()
uses: ./.github/workflows/notify.yml
with:
name: ${{ github.workflow }}
success: ${{ !contains(needs.*.result, 'failure') }}
secrets: inherit