Skip to content

Commit 5608c28

Browse files
authored
chore(deps): bump actions in build-and-persist-plugin-binary (#600)
Update actions versions in `build-and-persist-plugin-binary` workflow: - `actions/checkout` from v4.1.4 to v6.0.2 - `actions/upload-artifact` from v4.3.3 to v6.0.0 Signed-off-by: Ryan Johnson <ryan.johnson@broadcom.com>
1 parent baaddb0 commit 5608c28

1 file changed

Lines changed: 14 additions & 12 deletions

File tree

  • .github/actions/build-and-persist-plugin-binary

.github/actions/build-and-persist-plugin-binary/action.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,25 @@
22
# SPDX-License-Identifier: MPL-2.0
33

44
name: build-and-persist-plugin-binary
5+
56
inputs:
67
GOOS:
78
required: true
89
GOARCH:
910
required: true
11+
1012
runs:
1113
using: composite
1214
steps:
13-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
14-
- run: "GOOS=${{ inputs.GOOS }} GOARCH=${{ inputs.GOARCH }} go build -o ./pkg/packer_plugin_vsphere_${{ inputs.GOOS }}_${{ inputs.GOARCH }} ."
15-
shell: bash
16-
- run: zip ./pkg/packer_plugin_vsphere_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip ./pkg/packer_plugin_vsphere_${{ inputs.GOOS }}_${{ inputs.GOARCH }}
17-
shell: bash
18-
- run: rm ./pkg/packer_plugin_vsphere_${{ inputs.GOOS }}_${{ inputs.GOARCH }}
19-
shell: bash
20-
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
21-
with:
22-
name: "packer_plugin_vsphere_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip"
23-
path: "pkg/packer_plugin_vsphere_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip"
24-
retention-days: 30
15+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
16+
- run: "GOOS=${{ inputs.GOOS }} GOARCH=${{ inputs.GOARCH }} go build -o ./pkg/packer_plugin_vmware_${{ inputs.GOOS }}_${{ inputs.GOARCH }} ."
17+
shell: bash
18+
- run: zip ./pkg/packer_plugin_vmware_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip ./pkg/packer_plugin_vmware_${{ inputs.GOOS }}_${{ inputs.GOARCH }}
19+
shell: bash
20+
- run: rm ./pkg/packer_plugin_vmware_${{ inputs.GOOS }}_${{ inputs.GOARCH }}
21+
shell: bash
22+
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
23+
with:
24+
name: "packer_plugin_vmware_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip"
25+
path: "pkg/packer_plugin_vmware_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip"
26+
retention-days: 30

0 commit comments

Comments
 (0)