fix: test now waits for build stage to complete
This commit is contained in:
@@ -18,12 +18,13 @@ jobs:
|
||||
with:
|
||||
name: app
|
||||
path: app.tar
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: app
|
||||
- run: tar xf app.tar
|
||||
- run: chmod +x app/app
|
||||
- run: ./app/app
|
||||
test:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: app
|
||||
- run: tar xf app.tar
|
||||
- run: chmod +x app/app
|
||||
- run: ./app/app
|
||||
|
||||
Reference in New Issue
Block a user