Skip to content

Commit

Permalink
fix depricated upload
Browse files Browse the repository at this point in the history
  • Loading branch information
cjlapao committed Feb 3, 2025
1 parent b5f943c commit c3d159a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/actions/build-and-persist-plugin-binary/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ inputs:
runs:
using: composite
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- run: "GOOS=${{ inputs.GOOS }} GOARCH=${{ inputs.GOARCH }} go build -o ./pkg/packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }} ."
shell: bash
- run: zip ./pkg/packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip ./pkg/packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }}
shell: bash
- run: rm ./pkg/packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }}
shell: bash
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: "packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip"
path: "pkg/packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip"
retention-days: 30
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- run: "GOOS=${{ inputs.GOOS }} GOARCH=${{ inputs.GOARCH }} go build -o ./pkg/packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }} ."
shell: bash
- run: zip ./pkg/packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip ./pkg/packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }}
shell: bash
- run: rm ./pkg/packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }}
shell: bash
- uses: actions/upload-artifact@v4
with:
name: "packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip"
path: "pkg/packer_plugin_parallels_${{ inputs.GOOS }}_${{ inputs.GOARCH }}.zip"
retention-days: 30

0 comments on commit c3d159a

Please sign in to comment.