From f69b729eb227a18b3d5c97737ce23f998ab9016c Mon Sep 17 00:00:00 2001 From: Dedy Martadinata S Date: Mon, 1 Aug 2022 20:43:29 +0700 Subject: [PATCH] Update docker-build-static.yml --- .github/workflows/docker-build-static.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docker-build-static.yml b/.github/workflows/docker-build-static.yml index dd57fed..7fc6930 100644 --- a/.github/workflows/docker-build-static.yml +++ b/.github/workflows/docker-build-static.yml @@ -51,10 +51,6 @@ env: ## cargo ## target -# Github actions currently timeout when downloading musl-gcc -## Using lldap dev image based on rust:1.62-slim-bullseye and musl-gcc bundled -### Job aarch64 and amd64 build - jobs: build-ui: runs-on: ubuntu-latest @@ -85,10 +81,10 @@ jobs: lldap-ui- - name: Checkout repository uses: actions/checkout@v2 - - name: install rollup nodejs and wasm-pack - run: | - npm install -g rollup - npm install -g wasm-pack + - name: install rollup nodejs + run: npm install -g rollup + - name: install wasm-pack with cargo + run: cargo install wasm-pack || true - name: build frontend run: ./app/build.sh - name: check path @@ -152,6 +148,11 @@ jobs: build-aarch64: runs-on: ubuntu-latest container: +################################################################################## +# Github actions currently timeout when downloading musl-gcc # +# Using lldap dev image based on rust:1.62-slim-bullseye and musl-gcc bundled # +# Only for Job build aarch64 and amd64 # +################################################################################### #image: rust:1.62 image: nitnelave/rust-dev:latest env: @@ -163,8 +164,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - name: smoke test - run: | - rustc --version + run: rustc --version - name: Checkout repository uses: actions/checkout@v2 - uses: actions/cache@v3