chore: upload upload/download artifacts to v4

This commit is contained in:
Aviv Cohn
2025-02-11 10:44:07 -05:00
parent 3df50e117a
commit 6a3e89b4af
2 changed files with 8 additions and 8 deletions

View File

@@ -70,13 +70,13 @@ jobs:
run: Write-Output "$($Env:VERSION)" | Out-File -FilePath "$($Env:GITHUB_HOME)\output\version.txt" run: Write-Output "$($Env:VERSION)" | Out-File -FilePath "$($Env:GITHUB_HOME)\output\version.txt"
# Upload the build output as an artifact # Upload the build output as an artifact
- name: Upload Build Output - name: Upload Build Output
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v4
with: with:
name: Build name: Build
path: ./${{ env.SOLUTION_FILE}}-${{ env.VERSION}}.zip path: ./${{ env.SOLUTION_FILE}}-${{ env.VERSION}}.zip
# Upload the Version file as an artifact # Upload the Version file as an artifact
- name: Upload version.txt - name: Upload version.txt
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v4
with: with:
name: Version name: Version
path: ${{env.GITHUB_HOME}}\output\version.txt path: ${{env.GITHUB_HOME}}\output\version.txt
@@ -114,7 +114,7 @@ jobs:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- name: Download Build Version Info - name: Download Build Version Info
uses: actions/download-artifact@v1 uses: actions/download-artifact@v4
with: with:
name: Version name: Version
- name: Set Version Number - name: Set Version Number
@@ -127,7 +127,7 @@ jobs:
Remove-Item -Path ./Version/version.txt Remove-Item -Path ./Version/version.txt
Remove-Item -Path ./Version Remove-Item -Path ./Version
- name: Download Build output - name: Download Build output
uses: actions/download-artifact@v1 uses: actions/download-artifact@v4
with: with:
name: Build name: Build
path: ./ path: ./

View File

@@ -63,13 +63,13 @@ jobs:
- name: Write Version - name: Write Version
run: Write-Output "$($Env:VERSION)" | Out-File -FilePath "$($Env:GITHUB_HOME)\output\version.txt" run: Write-Output "$($Env:VERSION)" | Out-File -FilePath "$($Env:GITHUB_HOME)\output\version.txt"
- name: Upload Build Output - name: Upload Build Output
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v4
with: with:
name: Build name: Build
path: ./${{ env.SOLUTION_FILE}}-${{ env.VERSION}}.zip path: ./${{ env.SOLUTION_FILE}}-${{ env.VERSION}}.zip
# Upload the Version file as an artifact # Upload the Version file as an artifact
- name: Upload version.txt - name: Upload version.txt
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v4
with: with:
name: Version name: Version
path: ${{env.GITHUB_HOME}}\output\version.txt path: ${{env.GITHUB_HOME}}\output\version.txt
@@ -89,7 +89,7 @@ jobs:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- name: Download Build Version Info - name: Download Build Version Info
uses: actions/download-artifact@v1 uses: actions/download-artifact@v4
with: with:
name: Version name: Version
- name: Set Version Number - name: Set Version Number
@@ -102,7 +102,7 @@ jobs:
Remove-Item -Path ./Version/version.txt Remove-Item -Path ./Version/version.txt
Remove-Item -Path ./Version Remove-Item -Path ./Version
- name: Download Build output - name: Download Build output
uses: actions/download-artifact@v1 uses: actions/download-artifact@v4
with: with:
name: Build name: Build
path: ./ path: ./