2 Commits
20.0 ... 17.0

Author SHA1 Message Date
96b7bd3cb5 fix ci 2024-06-23 22:02:40 +08:00
8bb632c2a5 fix ci 2024-06-16 01:58:07 +08:00

View File

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