This commit is contained in:
parent
74ed97c9cd
commit
b4dbc986ec
1 changed files with 8 additions and 4 deletions
|
@ -1,4 +1,7 @@
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'main'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
non-lab:
|
non-lab:
|
||||||
|
@ -11,6 +14,7 @@ jobs:
|
||||||
sparse-checkout: |
|
sparse-checkout: |
|
||||||
non-lab
|
non-lab
|
||||||
- name: Setup OpenTofu
|
- name: Setup OpenTofu
|
||||||
run: curl -fsSl https://get.opentofu.org/install-opentofu.sh -o /tmp/install-opentofu.sh; chmod +x /tmp/install-opentofu.sh; /tmp/install-opentofu.sh --install-method deb; rm -f /tmp/install-opentofu.sh; cd non-lab
|
run: curl -fsSl https://get.opentofu.org/install-opentofu.sh -o /tmp/install-opentofu.sh; chmod +x /tmp/install-opentofu.sh; /tmp/install-opentofu.sh --install-method deb; rm -f /tmp/install-opentofu.sh
|
||||||
- name: Tree
|
- name: Tofu init
|
||||||
run: apt update; apt install tree; tree
|
working-directory: ${{ githubworkspace }}/non-lab
|
||||||
|
run: tofu init
|
||||||
|
|
Loading…
Add table
Reference in a new issue