chore: update the file

This commit is contained in:
x-tools-author 2025-04-26 10:23:15 +08:00
parent 7fcd10c0fb
commit 476c47fffc
2 changed files with 18 additions and 18 deletions

View File

@ -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:

View File

@ -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