Skip to content

Commit c3d159a

Browse files
committed
fix depricated upload
1 parent b5f943c commit c3d159a

File tree

1 file changed

+12
-12
lines changed
  • .github/actions/build-and-persist-plugin-binary

1 file changed

+12
-12
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ inputs:
1010
runs:
1111
using: composite
1212
steps:
13-
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
14-
- run: "GOOS=${{ inputs.GOOS }} GOARCH=${{ inputs.GOARCH }} go build -o ./pkg/packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }} ."
15-
shell: bash
16-
- run: zip ./pkg/packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip ./pkg/packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }}
17-
shell: bash
18-
- run: rm ./pkg/packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }}
19-
shell: bash
20-
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
21-
with:
22-
name: "packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip"
23-
path: "pkg/packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip"
24-
retention-days: 30
13+
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
14+
- run: "GOOS=${{ inputs.GOOS }} GOARCH=${{ inputs.GOARCH }} go build -o ./pkg/packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }} ."
15+
shell: bash
16+
- run: zip ./pkg/packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip ./pkg/packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }}
17+
shell: bash
18+
- run: rm ./pkg/packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }}
19+
shell: bash
20+
- uses: actions/upload-artifact@v4
21+
with:
22+
name: "packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip"
23+
path: "pkg/packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip"
24+
retention-days: 30

0 commit comments

Comments
 (0)