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
|
||||
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
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
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
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
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
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ipmonitor-build-artifact
|
||||
path: IPMonitor/bin/Debug/net8.0
|
||||
path: ipmonitor.tar.gz
|
||||
|
||||
|
||||
# - name: Run tests (optional)
|
||||
|
||||
Reference in New Issue
Block a user