Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
upload-artifact@v3 is being deprecated
  • Loading branch information
zentron authored Dec 10, 2024
1 parent 058e715 commit f7d7403
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
find . -wholename '**/octopusdeploy/${{ steps.git-version.outputs.nugetVersion }}/*' -print | zip -j ${{ github.workspace }}/Octopus.Jenkins.${{ steps.git-version.outputs.nugetVersion }}.zip -@
popd
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Octopus.Jenkins.${{ steps.git-version.outputs.nugetVersion }}
path: "Octopus.Jenkins.${{ steps.git-version.outputs.nugetVersion }}.zip"
Expand All @@ -115,4 +115,4 @@ jobs:
package_version: ${{ steps.git-version.outputs.nugetVersion }}
release_notes_file: ${{ steps.fetch-release-notes.outputs.release-note-file }}
git_ref: ${{ (github.ref_type == 'tag' && 'main' ) || (github.head_ref || github.ref) }}
git_commit: ${{ github.event.after || github.event.pull_request.head.sha }}
git_commit: ${{ github.event.after || github.event.pull_request.head.sha }}

0 comments on commit f7d7403

Please sign in to comment.