diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 1fb8557..11116a0 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,15 +1,22 @@ name: First CI + on: [push] + jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - rid: ["win-x64", "linux-x64"] - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-dotnet@v3 - with: - dotnet-version: '6.0.x' - - run: dotnet restore - - run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true \ No newline at end of file +build: + runs-on: ubuntu-latest + strategy: + matrix: + rid: ["win-x64", "linux-x64"] + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-dotnet@v3 + with: + dotnet-version: '6.0.x' + - run: dotnet restore + - run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: app-${{ matrix.rid }} + path: ./app \ No newline at end of file