|
|
|
@ -39,6 +39,78 @@ jobs:
|
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
|
if: matrix.configuration == 'Release'
|
|
|
|
|
with:
|
|
|
|
|
name: DepotDownloader-${{ runner.os }}
|
|
|
|
|
name: DepotDownloader-${{ runner.os }}-framework
|
|
|
|
|
path: artifacts
|
|
|
|
|
if-no-files-found: error
|
|
|
|
|
|
|
|
|
|
- name: Publish Windows-x64
|
|
|
|
|
if: matrix.configuration == 'Release' && matrix.os == 'windows-latest'
|
|
|
|
|
run: dotnet publish --configuration Release -p:PublishSingleFile=true -p:DebugType=embedded --self-contained --runtime win-x64 --output selfcontained
|
|
|
|
|
|
|
|
|
|
- name: Publish Linux-x64
|
|
|
|
|
if: matrix.configuration == 'Release' && matrix.os == 'ubuntu-latest'
|
|
|
|
|
run: dotnet publish --configuration Release -p:PublishSingleFile=true -p:DebugType=embedded --self-contained --runtime linux-x64 --output selfcontained
|
|
|
|
|
|
|
|
|
|
- name: Publish Linux-arm
|
|
|
|
|
if: matrix.configuration == 'Release' && matrix.os == 'ubuntu-latest'
|
|
|
|
|
run: dotnet publish --configuration Release -p:PublishSingleFile=true -p:DebugType=embedded --self-contained --runtime linux-arm --output selfcontained
|
|
|
|
|
|
|
|
|
|
- name: Publish Linux-arm64
|
|
|
|
|
if: matrix.configuration == 'Release' && matrix.os == 'ubuntu-latest'
|
|
|
|
|
run: dotnet publish --configuration Release -p:PublishSingleFile=true -p:DebugType=embedded --self-contained --runtime linux-arm64 --output selfcontained
|
|
|
|
|
|
|
|
|
|
- name: Publish macOS-x64
|
|
|
|
|
if: matrix.configuration == 'Release' && matrix.os == 'macos-latest'
|
|
|
|
|
run: dotnet publish --configuration Release -p:PublishSingleFile=true -p:DebugType=embedded --self-contained --runtime osx-x64 --output selfcontained
|
|
|
|
|
|
|
|
|
|
- name: Publish macOS-arm64
|
|
|
|
|
if: matrix.configuration == 'Release' && matrix.os == 'macos-latest'
|
|
|
|
|
run: dotnet publish --configuration Release -p:PublishSingleFile=true -p:DebugType=embedded --self-contained --runtime osx-arm64 --output selfcontained
|
|
|
|
|
|
|
|
|
|
- name: Upload Windows-x64
|
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
|
if: matrix.os == 'windows-latest'
|
|
|
|
|
with:
|
|
|
|
|
name: DepotDownloader-windows-x64
|
|
|
|
|
path: selfcontained
|
|
|
|
|
if-no-files-found: error
|
|
|
|
|
|
|
|
|
|
- name: Upload Linux-x64
|
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
|
if: matrix.os == 'ubuntu-latest'
|
|
|
|
|
with:
|
|
|
|
|
name: DepotDownloader-linux-x64
|
|
|
|
|
path: selfcontained
|
|
|
|
|
if-no-files-found: error
|
|
|
|
|
|
|
|
|
|
- name: Upload Linux-arm
|
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
|
if: matrix.os == 'ubuntu-latest'
|
|
|
|
|
with:
|
|
|
|
|
name: DepotDownloader-linux-arm
|
|
|
|
|
path: selfcontained
|
|
|
|
|
if-no-files-found: error
|
|
|
|
|
|
|
|
|
|
- name: Upload Linux-arm64
|
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
|
if: matrix.os == 'ubuntu-latest'
|
|
|
|
|
with:
|
|
|
|
|
name: DepotDownloader-linux-arm64
|
|
|
|
|
path: selfcontained
|
|
|
|
|
if-no-files-found: error
|
|
|
|
|
|
|
|
|
|
- name: Upload macOS-x64
|
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
|
if: matrix.os == 'macos-latest'
|
|
|
|
|
with:
|
|
|
|
|
name: DepotDownloader-macos-x64
|
|
|
|
|
path: selfcontained
|
|
|
|
|
if-no-files-found: error
|
|
|
|
|
|
|
|
|
|
- name: Upload macOS-arm64
|
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
|
if: matrix.os == 'macos-latest'
|
|
|
|
|
with:
|
|
|
|
|
name: DepotDownloader-macos-arm64
|
|
|
|
|
path: selfcontained
|
|
|
|
|
if-no-files-found: error
|
|
|
|
|