Fix workflow

This commit is contained in:
Bryce Lampe
2024-03-07 16:18:20 -08:00
parent d8688f5e1a
commit 48790551fb

View File

@@ -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