Skip to content

Test context dumping #32

Test context dumping

Test context dumping #32

name: Build and release
on: [push, pull_request]
jobs:
build-test:
uses: cygporter/workflows/.github/workflows/build-test.yml@test-contexts

Check failure on line 5 in .github/workflows/build-test-release.yml

View workflow run for this annotation

GitHub Actions / Build and release

Invalid workflow file

The workflow is not valid. In .github/workflows/build-test-release.yml (Line: 5, Col: 11): Error from called workflow cygporter/workflows/.github/workflows/build-test.yml@test-contexts (Line: 40, Col: 21): Unrecognized named-value: 'jobs'. Located at position 8 within expression: toJSON(jobs)

Check failure on line 5 in .github/workflows/build-test-release.yml

View workflow run for this annotation

GitHub Actions / Build and release

Invalid workflow file

The workflow is not valid. In .github/workflows/build-test-release.yml (Line: 5, Col: 11): Error from called workflow cygporter/workflows/.github/workflows/build-test.yml@test-contexts (Line: 64, Col: 9): Unexpected value 'environment'
with:
cygport_file: git.cygport
github-release:
if: github.ref == format('refs/heads/v{0}', needs.build-test.outputs.cygport-pv)
needs: build-test
permissions:
contents: write
uses: cygporter/workflows/.github/workflows/github-release.yml@v2
with:
tag_name: v${{ needs.build-test.outputs.cygport-pvr }}
cygwin-release:
if: github.ref == format('refs/heads/v{0}', needs.build-test.outputs.cygport-pv)
needs: [build-test, github-release]
uses: cygporter/workflows/.github/workflows/cygwin-release.yml@v2
with:
cygport_file: git.cygport
tag_name: v${{ needs.build-test.outputs.cygport-pvr }}
secrets:
maintainer_key: ${{ secrets.maintainer_key }}