Preserve file permissions when uploading artifacts
All checks were successful
Build .NET Project / build (push) Successful in 3m54s
All checks were successful
Build .NET Project / build (push) Successful in 3m54s
This commit is contained in:
@@ -25,23 +25,32 @@ jobs:
|
|||||||
pwd
|
pwd
|
||||||
dotnet build --configuration Debug --no-restore # Build the project in Debug configuration
|
dotnet build --configuration Debug --no-restore # Build the project in Debug configuration
|
||||||
|
|
||||||
|
- name: Create Market Data archive with preserved permissions
|
||||||
|
run: tar -czvf marketdata.tar.gz MarketData/MarketData/bin/Debug/net8.0
|
||||||
|
|
||||||
- name: Upload Market Data Build Artifact
|
- name: Upload Market Data Build Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: marketdata-build-artifact
|
name: marketdata-build-artifact
|
||||||
path: MarketData/MarketData/bin/Debug/net8.0
|
path: marketdata.tar.gz
|
||||||
|
|
||||||
|
- name: Create Market Data Server archive with preserved permissions
|
||||||
|
run: tar -czvf marketdata-server.tar.gz MarketDataServer/bin/Debug/net8.0
|
||||||
|
|
||||||
- name: Upload Market Data Server Build Artifact
|
- name: Upload Market Data Server Build Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: marketdata-server-build-artifact
|
name: marketdata-server-build-artifact
|
||||||
path: MarketDataServer/bin/Debug/net8.0
|
path: marketdata-server.tar.gz
|
||||||
|
|
||||||
|
- name: Create IPMonitor archive with preserved permissions
|
||||||
|
run: tar -czvf ipmonitor.tar.gz IPMonitor/bin/Debug/net8.0
|
||||||
|
|
||||||
- name: Upload IPMonitor Build Artifact
|
- name: Upload IPMonitor Build Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ipmonitor-build-artifact
|
name: ipmonitor-build-artifact
|
||||||
path: IPMonitor/bin/Debug/net8.0
|
path: ipmonitor.tar.gz
|
||||||
|
|
||||||
|
|
||||||
# - name: Run tests (optional)
|
# - name: Run tests (optional)
|
||||||
|
|||||||
Reference in New Issue
Block a user