fix: fix workflow
This commit is contained in:
@@ -27,8 +27,8 @@
|
|||||||
# path: program
|
# path: program
|
||||||
|
|
||||||
# ZAD 4
|
# ZAD 4
|
||||||
# name: First CI
|
name: First CI
|
||||||
# on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -50,13 +50,32 @@ jobs:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: app.tar
|
name: app.tar
|
||||||
- run: ls -R
|
|
||||||
- run: tar xf app.tar
|
- run: tar xf app.tar
|
||||||
- run: ls -R
|
|
||||||
- run: ./app/app
|
- run: ./app/app
|
||||||
|
|
||||||
# ZAD 5
|
# ZAD 5
|
||||||
|
# name: First CI
|
||||||
|
# on: [push]
|
||||||
|
|
||||||
|
# jobs:
|
||||||
|
# build:
|
||||||
|
# runs-on: ubuntu-latest
|
||||||
|
# strategy:
|
||||||
|
# matrix:
|
||||||
|
# r id: ["win-x64", "linux-x64"]
|
||||||
|
# steps:
|
||||||
|
# - uses: actions/checkout@v4
|
||||||
|
# - uses: actions/setup-dotnet@v3
|
||||||
|
# with:
|
||||||
|
# dot net-version: '8.0.x'
|
||||||
|
# - run: dotnet restore
|
||||||
|
# - run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true
|
||||||
|
# - run: tar cf app-${{ matrix.rid }}.tar app/
|
||||||
|
# - uses: actions/upload-artifact@v3
|
||||||
|
# with:
|
||||||
|
# name: app-${{ matrix.rid }}.tar
|
||||||
|
|||||||
Reference in New Issue
Block a user