From 48790551fb81f6a6221db3d18e446c5bac7efd0e Mon Sep 17 00:00:00 2001 From: Bryce Lampe Date: Thu, 7 Mar 2024 16:18:20 -0800 Subject: [PATCH] Fix workflow --- .github/workflows/makefile.yaml | 75 +++++++++++++++------------------ 1 file changed, 34 insertions(+), 41 deletions(-) diff --git a/.github/workflows/makefile.yaml b/.github/workflows/makefile.yaml index a91c29a..793a58e 100644 --- a/.github/workflows/makefile.yaml +++ b/.github/workflows/makefile.yaml @@ -4,12 +4,12 @@ on: workflow_dispatch: push: branches: - - main + - main pull_request: branches: - - main + - main schedule: - - cron: '0 0 * * *' + - cron: "0 0 * * *" jobs: build: @@ -22,41 +22,34 @@ jobs: packages: read actions: read steps: - - - name: Checkout repository - uses: actions/checkout@v4 - id: git - with: - submodules: 'recursive' - - - name: Unshallow clone for tags - id: tags - run: | - sudo chown -R $(whoami) /__w/pulumi-provider-boilerplate/pulumi-provider-boilerplate - git config --global --add safe.directory /__w/pulumi-provider-boilerplate/pulumi-provider-boilerplate - git fetch --prune --unshallow --tags - - - name: Build - id: build - run: | - make build - - - name: Install - id: install - run: | - set -ex - make install - - - name: PulumiUp - id: up - run: make up - - - name: PulumiDown - id: down - run: make down - - - name: Generate multi-language examples from yaml IaC program - id: examples - run: | - set -ex - make gen_examples + - name: Checkout repository + uses: actions/checkout@v4 + id: git + with: + submodules: "recursive" + - name: Unshallow clone for tags + id: tags + run: | + sudo chown -R $(whoami) /__w/pulumi-docker-native/pulumi-docker-native + git config --global --add safe.directory /__w/pulumi-docker-native/pulumi-docker-native + git fetch --prune --unshallow --tags + - name: Build + id: build + run: | + make build + - name: Install + id: install + run: | + set -ex + make install + - name: PulumiUp + id: up + run: make up + - name: PulumiDown + id: down + run: make down + - name: Generate multi-language examples from yaml IaC program + id: examples + run: | + set -ex + make gen_examples