Skip to content

Commit 0cf5c20

Browse files
authored
fix(gha): add vagrant plugin to packer-templates gha (#523)
1 parent f2c0a41 commit 0cf5c20

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

.github/workflows/links.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Links
1+
name: links
22

33
on:
44
workflow_dispatch:
@@ -7,17 +7,19 @@ on:
77
- main
88
paths:
99
- .github/workflows/links.yml
10+
- lychee.toml
1011
- "**.md"
1112
schedule:
12-
- cron: "0 3 * * 1"
13+
- cron: "0 0 * * 2"
1314

1415
permissions: read-all
1516

1617
jobs:
17-
linkChecker:
18+
links:
1819
runs-on: ubuntu-latest
1920
steps:
20-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
21+
- name: Checkout
22+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2123

2224
- name: Restore lychee cache
2325
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1

.github/workflows/packer-templates.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ name: packer-templates
22

33
on:
44
workflow_dispatch:
5-
# push:
6-
# branches-ignore:
7-
# - main
8-
# paths:
9-
# - "*.json"
10-
# - .github/workflows/packer-templates.yml
5+
push:
6+
branches-ignore:
7+
- main
8+
paths:
9+
- "*.json"
10+
- .github/workflows/packer-templates.yml
1111

1212
permissions: read-all
1313

@@ -26,8 +26,10 @@ jobs:
2626
PACKER_LATEST_VERSION=$(curl -s https://checkpoint-api.hashicorp.com/v1/check/packer | jq -r -M '.current_version')
2727
curl -s "https://releases.hashicorp.com/packer/${PACKER_LATEST_VERSION}/packer_${PACKER_LATEST_VERSION}_linux_amd64.zip" --output /tmp/packer_linux_amd64.zip
2828
sudo unzip -o /tmp/packer_linux_amd64.zip -d /usr/local/bin/
29-
packer plugins install github.com/hashicorp/qemu
3029
packer plugins install github.com/hashicorp/ansible
30+
packer plugins install github.com/hashicorp/qemu
31+
packer plugins install github.com/hashicorp/vagrant
32+
packer plugins install github.com/hashicorp/virtualbox
3133
3234
- name: Validate Packer templates
3335
run: |

0 commit comments

Comments
 (0)