diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 951af83..a0f7a02 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -23,5 +23,5 @@ jobs: - uses: actions/download-artifact@v3 with: name: app.tar - - run: tar xf app.tar/app + - run: tar xf app.tar app/ - run: ./app/app diff --git a/.gitea/workflows/ci2.yml b/.gitea/workflows/ci2.yml new file mode 100644 index 0000000..fa0f0d4 --- /dev/null +++ b/.gitea/workflows/ci2.yml @@ -0,0 +1,16 @@ +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: '8.0.x' + - run: dotnet restore + - run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true