Skip to content

Commit

Permalink
Merge pull request #600 from WildernessLabs/dominique-FixCIPackaging
Browse files Browse the repository at this point in the history
Bump upload-artifact to v4, v2 is deprecated.
  • Loading branch information
jorgedevs authored Oct 4, 2024
2 parents 08a33a9 + 5250dcf commit e056745
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
run: dotnet build main/MeadowCLI.Classic.sln /p:Configuration=Release

- name: Upload nuget Artifacts for internal testing
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Meadow.CLI.Classic.nuget.${{ ENV.CLI_RELEASE_VERSION_1 }}
path: 'main\Meadow.CLI.Classic\bin\Release\*.nupkg'
Expand All @@ -100,7 +100,7 @@ jobs:
run: dotnet build main/MeadowCLI.sln /p:Configuration=Release

- name: Upload nuget Artifacts for internal testing
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Meadow.CLI.nuget.${{ ENV.CLI_RELEASE_VERSION_1 }}
path: 'main\Meadow.CLI\bin\Release\*.nupkg'
Expand All @@ -117,7 +117,7 @@ jobs:
run: dotnet build main/Source/v2/Meadow.CLI.v2.sln /p:Configuration=Release

- name: Upload nuget Artifacts for internal testing
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Meadow.CLI.nuget.${{ ENV.CLI_RELEASE_VERSION_2 }}
path: 'main\Source\v2\Meadow.CLI\bin\Release\*.nupkg'
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
# DevEnvDir: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE'

# - name: Upload VS2019 VSIX Artifacts
# uses: actions/upload-artifact@v2
# uses: actions/upload-artifact@v4
# with:
# name: Meadow.Win.VS2019.vsix.${{ ENV.IDE_TOOLS_RELEASE_VERSION }}
# path: 'vs-win\VS_Meadow_Extension\VS_Meadow_Extension.2019\bin\Release\*.vsix'
Expand Down Expand Up @@ -254,7 +254,7 @@ jobs:
DevEnvDir: 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE'

- name: Upload VS2022 VSIX Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Meadow.Win.VS2022.vsix.${{ ENV.IDE_TOOLS_RELEASE_VERSION }}
path: 'vs-win\VS_Meadow_Extension\VS_Meadow_Extension.2022\bin\Release\*.vsix'
Expand Down Expand Up @@ -326,7 +326,7 @@ jobs:
# msbuild vs-mac/VS4Mac_Meadow_Extension.sln /t:Build /p:Configuration=Release /p:CreatePackage=true

# - name: Upload Mac VS2019 mpack Artifacts
# uses: actions/upload-artifact@v2
# uses: actions/upload-artifact@v4
# with:
# name: Meadow.Mac.2019.mpack.${{ ENV.IDE_TOOLS_RELEASE_VERSION }}
# path: 'vs-mac/VS4Mac_Meadow_Extension/bin/Release/net472/*.mpack'
Expand Down Expand Up @@ -435,7 +435,7 @@ jobs:
dotnet msbuild vs-mac/VS4Mac_Meadow_Extension/Meadow.Sdks.IdeExtensions.Vs4Mac.2022.csproj /t:Build /p:Configuration=Release /p:CreatePackage=true
- name: Upload VS2022 mpack Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Meadow.Mac.2022.mpack.${{ ENV.IDE_TOOLS_RELEASE_VERSION }}
path: 'vs-mac/VS4Mac_Meadow_Extension/bin/Release/net7.0/*.mpack'
Expand Down Expand Up @@ -584,7 +584,7 @@ jobs:
vsce package
- name: Upload VSIX Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Meadow.VSCode.vsix.${{ ENV.IDE_TOOLS_RELEASE_VERSION }}
path: 'vs-code/*.vsix'
Expand Down

0 comments on commit e056745

Please sign in to comment.