mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
chore: update the file
This commit is contained in:
parent
7fcd10c0fb
commit
476c47fffc
18
.github/workflows/build-docker-windows.yml
vendored
18
.github/workflows/build-docker-windows.yml
vendored
@ -15,15 +15,15 @@ jobs:
|
||||
steps:
|
||||
- name: Pull respository
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Qt
|
||||
uses: jurplel/install-qt-action@v3
|
||||
with:
|
||||
aqtversion: '==3.1.*'
|
||||
dir: ${{ github.workspace }}
|
||||
version: ${{ env.QT_VERSION }}
|
||||
target: desktop
|
||||
arch: win64_msvc2022_64
|
||||
modules: ${{ env.QT_MODULES }}
|
||||
# - name: Install Qt
|
||||
# uses: jurplel/install-qt-action@v3
|
||||
# with:
|
||||
# aqtversion: '==3.1.*'
|
||||
# dir: ${{ github.workspace }}
|
||||
# version: ${{ env.QT_VERSION }}
|
||||
# target: desktop
|
||||
# arch: win64_msvc2022_64
|
||||
# modules: ${{ env.QT_MODULES }}
|
||||
- name: Build docker image
|
||||
run: | #https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
|
||||
dir c:
|
||||
|
||||
@ -1,19 +1,19 @@
|
||||
FROM mcr.microsoft.com/windows/nanoserver:ltsc2022
|
||||
FROM mcr.microsoft.com/windows/server:ltsc2022
|
||||
|
||||
#---------------------------------------------------------------------------------------------------
|
||||
# Copy Qt to Container
|
||||
COPY Qt C:/Qt
|
||||
#COPY Qt C:/Qt
|
||||
|
||||
#---------------------------------------------------------------------------------------------------
|
||||
# Install PowerShell
|
||||
ENV POWERSHELL_URL=https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/PowerShell-7.5.1-win-x64.zip
|
||||
ENV POWERSHELL_DIR=C:/PowerShell
|
||||
# ENV POWERSHELL_URL=https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/PowerShell-7.5.1-win-x64.zip
|
||||
# ENV POWERSHELL_DIR=C:/PowerShell
|
||||
|
||||
# Download and install PowerShell
|
||||
RUN curl.exe -L -o powershell.zip %POWERSHELL_URL% && \
|
||||
tar.exe -xf powershell.zip -C C:\\PowerShell && \
|
||||
del powershell.zip
|
||||
ENV PATH="%POWERSHELL_DIR%;%PATH%"
|
||||
# # Download and install PowerShell
|
||||
# RUN curl.exe -L -o powershell.zip %POWERSHELL_URL% && \
|
||||
# tar.exe -xf powershell.zip -C C:\\PowerShell && \
|
||||
# del powershell.zip
|
||||
# ENV PATH="%POWERSHELL_DIR%;%PATH%"
|
||||
|
||||
#---------------------------------------------------------------------------------------------------
|
||||
# CMake ENV
|
||||
|
||||
Loading…
Reference in New Issue
Block a user