This commit is contained in:
2025-11-07 21:34:57 +08:00
parent 3376cb924d
commit 770e27acff

View File

@@ -1,8 +1,8 @@
# action.yml
name: 'build docker image and push to code'
description: 'build docker image and push to simcu code'
name: "build docker image and push to code"
description: "build docker image and push to simcu code"
runs:
using: 'composite'
using: "composite"
steps:
- uses: docker://node:20
with:
@@ -11,7 +11,7 @@ runs:
-c "export https_proxy=http://100.100.13.14:8118 && \
export http_proxy=http://100.100.13.14:8118 && \
npm install && \
npm run build -- --output-path=dist --define AppVersion="'${{ github.ref_name }}'""
npm run build -- --output-path=dist --define AppVersion="'${{github.ref_name}}'"
- uses: docker://ubuntu:latest
with: