3 Commits
20.0 ... 18.1

Author SHA1 Message Date
3de0b1e3fb add proxy 2024-07-28 22:01:48 +08:00
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,17 @@
# 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 "export https_proxy=http://100.100.13.14:8118 && \
export http_proxy=http://100.100.13.14:8118 && \ export http_proxy=http://100.100.13.14:8118 && \
npm install && \ npm install && \
npm run build -- --output-path=dist --define AppVersion=\"'${{github.ref_name}}'\"" npm run build -- --output-path=dist"
- uses: docker://ubuntu:latest - uses: docker://ubuntu:latest
with: with: