v4.2
Some checks failed
First CI / build (push) Successful in 1m23s
First CI / test (push) Failing after 9s

This commit is contained in:
LukaszKrawczykDev
2025-11-20 15:48:51 +01:00
parent e949300441
commit 3c8730e9d0

View File

@@ -13,16 +13,16 @@ jobs:
- run: dotnet build - run: dotnet build
- run: dotnet test - run: dotnet test
- run: dotnet publish -o app -r linux-x64 --sc /p:PublishSingleFile=true,AssemblyName=app - run: dotnet publish -o app -r linux-x64 --sc /p:PublishSingleFile=true,AssemblyName=app
- run: tar cf app.tar app/ - run: |
- uses: actions/upload-artifact@v3 mkdir -p artifacts
with: tar cf artifacts/app.tar app/
name: app.tar outputs:
path: app.tar artifact_path: artifacts/app.tar
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build
steps: steps:
- uses: actions/download-artifact@v3 - uses: actions/checkout@v4
with: - run: cp "${{ needs.build.outputs.artifact_path }}" ./app.tar
name: app.tar
- run: tar xf app.tar - run: tar xf app.tar
- run: ./app/app - run: ./app/app