diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60a69a26..74ae86d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,4 +34,9 @@ jobs: - name: Build run: dotnet build -c Release - name: Publish - run: dotnet publish -c Release -r ${{ matrix.platform }} -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained + run: dotnet publish -c Release -o publish -r ${{ matrix.platform }} -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: ${{ matrix.platform }} + path: publish \ No newline at end of file diff --git a/.gitignore b/.gitignore index d9b7b781..1bebd70e 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ build obj *.user .DS_Store +publish