Fix workflow
This commit is contained in:
75
.github/workflows/makefile.yaml
vendored
75
.github/workflows/makefile.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user