Skip to content

Use shorter version

Use shorter version #3

name: Build a project with Qt6
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
BUILD_TYPE: Release
jobs:
install-qt6:
uses: .github/workflows/install-qt6.yml@main

Check failure on line 14 in .github/workflows/build-with-qt6.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-with-qt6.yml

Invalid workflow file

invalid value workflow reference: references to workflows must be prefixed with format 'owner/repository/' or './' for local workflows
qml5-contextproperty:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Configure
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -S qml5-contextproperty/
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
qml6-qmlelement:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Configure
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -S qml6-qmlelement/
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}