Przekazywanie Artefaktow Dobre 3
This commit is contained in:
@@ -23,5 +23,5 @@ jobs:
|
|||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: app.tar
|
name: app.tar
|
||||||
- run: tar xf app.tar/app
|
- run: tar xf app.tar app/
|
||||||
- run: ./app/app
|
- run: ./app/app
|
||||||
|
|||||||
16
.gitea/workflows/ci2.yml
Normal file
16
.gitea/workflows/ci2.yml
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user