generated from pulumi/pulumi-provider-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (46 loc) · 976 Bytes
/
makefile.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Makefile
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
container:
image: docker://ghcr.io/pulumi/devcontainer:latest
options: --user root
permissions:
contents: read
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-aem/pulumi-aem
git config --global --add safe.directory /__w/pulumi-aem/pulumi-aem
git fetch --prune --unshallow --tags
- name: Build
id: build
run: |
make build
- name: Test
id: test
run: |
make test_provider
- name: Install
id: install
run: |
set -ex
make install