mirror of
https://github.com/msojocs/wx-compiler.git
synced 2025-07-19 00:00:04 +08:00
fix: docker expose in ci
This commit is contained in:
parent
629165bdda
commit
b7fbc2061b
12
.github/actions/test/action.yml
vendored
Normal file
12
.github/actions/test/action.yml
vendored
Normal 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
|
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -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
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user