Update artifact action to v4

This commit is contained in:
jklingen 2025-01-03 16:41:14 +01:00
commit bcf01d92ea

View file

@ -45,7 +45,7 @@ jobs:
Copy-Item -Path "$(Build.SourcesDirectory)\installer\Greenshot-INSTALLER-*.exe" -Destination "${{ github.workspace }}/drop" -Force Copy-Item -Path "$(Build.SourcesDirectory)\installer\Greenshot-INSTALLER-*.exe" -Destination "${{ github.workspace }}/drop" -Force
- name: Publish Artifact - name: Publish Artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v4
with: with:
name: drop name: drop
path: ${{ github.workspace }}/drop/*.exe path: ${{ github.workspace }}/drop/*.exe
@ -55,7 +55,7 @@ jobs:
needs: build needs: build
steps: steps:
- name: Download Artifact - name: Download Artifact
uses: actions/download-artifact@v2 uses: actions/download-artifact@v4
with: with:
name: drop name: drop
@ -69,4 +69,3 @@ jobs:
files: ${{ github.workspace }}/drop/*.exe files: ${{ github.workspace }}/drop/*.exe
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}