diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 7da1d09..5c7ec80 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -7,19 +7,23 @@ jobs: strategy: matrix: rid: ["win-x64", "linux-x64"] + steps: - uses: actions/checkout@v4 + - uses: actions/setup-dotnet@v3 with: dotnet-version: "8.0.x" + - run: dotnet restore + - run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true - - name: create tar - - run: tar cf app-${{ matrix.rid }}.tar -C app/ . + - name: Create tar + run: tar -cf app-${{ matrix.rid }}.tar -C app . - name: Upload artifact - - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v4 with: name: app-${{ matrix.rid }} - path: ./app/app-${{ matrix.rid }}.tar + path: app-${{ matrix.rid }}.tar