Skip to content

Commit

Permalink
Modify artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
Smalls1652 committed Jan 12, 2024
1 parent 99f32d3 commit a2dcd0b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/csvimporter-create-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,23 @@ jobs:
- name: Compile project (Windows)
if: ${{ runner.os == 'Windows' }}
run: |
dotnet msbuild ./src/Tools/CsvImporter/ -target:"Restore" -target:"Build" -target:"Publish" -property:"Configuration=Release" -property:"RuntimeIdentifier=win-x64" -property:"EnableBuildOutDir=true" -property:"EnableArtifactZip=true"
dotnet msbuild ./src/Tools/CsvImporter/ -target:"Restore" -target:"Build" -target:"Publish" -property:"Configuration=Release" -property:"RuntimeIdentifier=win-x64" -property:"EnableBuildOutDir=true" -property:"EnableArtifactZip=false"
- name: Compile project (Linux)
if: ${{ runner.os == 'Linux' }}
run: |
dotnet msbuild ./src/Tools/CsvImporter/ -target:"Restore" -target:"Build" -target:"Publish" -property:"Configuration=Release" -property:"RuntimeIdentifier=linux-x64" -property:"EnableBuildOutDir=true" -property:"EnableArtifactZip=true"
dotnet msbuild ./src/Tools/CsvImporter/ -target:"Restore" -target:"Build" -target:"Publish" -property:"Configuration=Release" -property:"RuntimeIdentifier=linux-x64" -property:"EnableBuildOutDir=true" -property:"EnableArtifactZip=false"
- name: Create artifact (Windows)
uses: actions/upload-artifact@v4
if: ${{ runner.os == 'Windows' }}
with:
name: "CsvImporter_${{ runner.os }}_${{ github.sha }}"
path: artifacts/CsvImporter_win-x64.zip
name: "CsvImporter_win-x64_${{ github.sha }}"
path: build/CsvImporter/

- name: Create artifact (Linux)
uses: actions/upload-artifact@v4
if: ${{ runner.os == 'Linux' }}
with:
name: "CsvImporter_${{ runner.os }}_${{ github.sha }}"
path: artifacts/CsvImporter_linux-x64.zip
name: "CsvImporter_linux-x64_${{ github.sha }}"
path: build/CsvImporter/

0 comments on commit a2dcd0b

Please sign in to comment.