Fix workflow
This commit is contained in:
29
.github/workflows/makefile.yaml
vendored
29
.github/workflows/makefile.yaml
vendored
@@ -9,7 +9,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * *'
|
- cron: "0 0 * * *"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -22,40 +22,33 @@ jobs:
|
|||||||
packages: read
|
packages: read
|
||||||
actions: read
|
actions: read
|
||||||
steps:
|
steps:
|
||||||
-
|
- name: Checkout repository
|
||||||
name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
id: git
|
id: git
|
||||||
with:
|
with:
|
||||||
submodules: 'recursive'
|
submodules: "recursive"
|
||||||
-
|
- name: Unshallow clone for tags
|
||||||
name: Unshallow clone for tags
|
|
||||||
id: tags
|
id: tags
|
||||||
run: |
|
run: |
|
||||||
sudo chown -R $(whoami) /__w/pulumi-provider-boilerplate/pulumi-provider-boilerplate
|
sudo chown -R $(whoami) /__w/pulumi-docker-native/pulumi-docker-native
|
||||||
git config --global --add safe.directory /__w/pulumi-provider-boilerplate/pulumi-provider-boilerplate
|
git config --global --add safe.directory /__w/pulumi-docker-native/pulumi-docker-native
|
||||||
git fetch --prune --unshallow --tags
|
git fetch --prune --unshallow --tags
|
||||||
-
|
- name: Build
|
||||||
name: Build
|
|
||||||
id: build
|
id: build
|
||||||
run: |
|
run: |
|
||||||
make build
|
make build
|
||||||
-
|
- name: Install
|
||||||
name: Install
|
|
||||||
id: install
|
id: install
|
||||||
run: |
|
run: |
|
||||||
set -ex
|
set -ex
|
||||||
make install
|
make install
|
||||||
-
|
- name: PulumiUp
|
||||||
name: PulumiUp
|
|
||||||
id: up
|
id: up
|
||||||
run: make up
|
run: make up
|
||||||
-
|
- name: PulumiDown
|
||||||
name: PulumiDown
|
|
||||||
id: down
|
id: down
|
||||||
run: make down
|
run: make down
|
||||||
-
|
- name: Generate multi-language examples from yaml IaC program
|
||||||
name: Generate multi-language examples from yaml IaC program
|
|
||||||
id: examples
|
id: examples
|
||||||
run: |
|
run: |
|
||||||
set -ex
|
set -ex
|
||||||
|
|||||||
Reference in New Issue
Block a user