This commit is contained in:
@@ -30,13 +30,25 @@ jobs:
|
||||
- name: Build
|
||||
run: |
|
||||
docker build \
|
||||
-t chad-client-windows \
|
||||
-t chad-client-windows-builder \
|
||||
-f ./client/Dockerfile.windows \
|
||||
./client \
|
||||
--build-arg COMMIT_SHA=${{ gitea.sha }} \
|
||||
--build-arg API_BASE_URL=${{ vars.API_BASE_URL }} \
|
||||
--build-arg TAURI_SIGNING_PRIVATE_KEY=${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
||||
|
||||
docker create --name chad-client-windows-container chad-client-windows-builder
|
||||
docker cp chad-client-windows-container:/app/src-tauri/target/x86_64-pc-windows-msvc/release/bundle/nsis ./nsis
|
||||
docker rm chad-client-windows-container
|
||||
|
||||
- name: Publish
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
files: |
|
||||
nsis/**
|
||||
body: "New version"
|
||||
draft: true
|
||||
|
||||
# publish-web:
|
||||
# runs-on: ubuntu-latest
|
||||
|
||||
|
||||
@@ -1,18 +1,7 @@
|
||||
FROM node:lts
|
||||
|
||||
# SHELL ["/bin/bash", "-c"]
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# RUN apt update
|
||||
#
|
||||
# RUN apt install -y curl unzip
|
||||
|
||||
# RUN curl -fsSL https://fnm.vercel.app/install | bash
|
||||
|
||||
# RUN ~/.local/share/fnm/fnm install 24
|
||||
# RUN ~/.local/share/fnm/fnm use 24
|
||||
|
||||
RUN corepack enable yarn
|
||||
RUN yarn set version stable
|
||||
|
||||
|
||||
Reference in New Issue
Block a user