From 32e3cf3a12c171e48329dc1dcae70bc1742ce86b Mon Sep 17 00:00:00 2001 From: Eike Waldt Date: Tue, 15 Oct 2024 12:14:33 +0200 Subject: [PATCH] add workflow to test GH action --- .github/workflows/image.yml | 5 +++-- .github/workflows/test.yml | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index bfb4603..60539aa 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -46,8 +46,9 @@ jobs: needs: build steps: - uses: actions/checkout@v4 - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 + ## needed for cross-compilation via qemu + # - name: Set up QEMU + # uses: docker/setup-qemu-action@v3 - uses: ./.github/actions/setup - name: download build-amd64 uses: actions/download-artifact@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..16512fe --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,22 @@ +name: test glrd GH action +on: + workflow_dispatch: +jobs: + query: + name: query + runs-on: 'ubuntu-latest' + steps: + - name: Get latest GL patch version + id: gl_version_latest + uses: gardenlinux/glrd@main + with: + cmd: glrd --no-header --type patch --latest --fields Version + - name: Use latest GL patch version + run: echo ${{ steps.gl_version_latest.outputs.result }} + - name: Get latest GL nightly version + id: gl_version_nightly + uses: gardenlinux/glrd@main + with: + cmd: glrd --no-header --type nightly --latest --fields Version + - name: Use latest GL nightly version + run: echo ${{ steps.gl_version_nightly.outputs.result }}