fix: docker expose in ci

This commit is contained in:
msojocs 2024-07-06 16:52:18 +08:00
parent 629165bdda
commit b7fbc2061b
3 changed files with 17 additions and 1 deletions

12
.github/actions/test/action.yml vendored Normal file
View File

@ -0,0 +1,12 @@
name: 'Hello World'
description: 'Greet someone'
inputs:
who-to-greet: # id of input
description: 'Who to greet'
required: true
default: 'World'
runs:
using: "composite"
steps:
- run: pnpm run test
shell: bash

View File

@ -149,7 +149,10 @@ jobs:
ls -l test/wine
# ./test/wine/wcc.exe
pnpm run test-prepare
pnpm run test
# pnpm run test
- uses: ./.github/actions/test
with:
who-to-greet: 'Mona the Octocat'
upload:
name: Create release and upload artifacts

View File

@ -43,6 +43,7 @@ docker run -d -it\
sleep 10
curl http://localhost:8083
docker ps
exit 0
# curl http://localhost:8083/close
# docker stop wine