From 472efe9b8425ce85457f0209d6429602dd389e4b Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Wed, 3 May 2023 23:45:59 +0200 Subject: [PATCH] ci: test built image --- .github/workflows/ci.yml | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index efc1731..797f193 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: ci on: workflow_dispatch: schedule: - - cron: '0 10 * * *' # everyday at 10am + - cron: '0 10 * * *' push: branches: - 'master' @@ -14,14 +14,32 @@ on: - 'releases/v*' jobs: - ci: - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: - - ubuntu-latest - - windows-latest + linux: + runs-on: ubuntu-latest + steps: + - + name: Checkout + uses: actions/checkout@v3 + - + name: Build image + uses: docker/bake-action@v3 + with: + targets: image-local + - + name: Choco help + uses: ./ + with: + args: -h + image: ghaction-chocolatey:local + - + name: Choco install InnoSetup + uses: ./ + with: + args: install innosetup --no-progress + image: ghaction-chocolatey:local + + windows: + runs-on: windows-latest steps: - name: Checkout