Changeset - r27200:30cdfc56c515
[Not reviewed]
master
0 1 0
Patric Stout - 15 months ago 2023-04-29 19:59:01
truebrain@openttd.org
Fix: [CI] typo in Windows release jobname (#10742)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
.github/workflows/release-windows.yml
Show inline comments
 
name: Release (Windows)
 

	
 
on:
 
  workflow_call:
 
    inputs:
 
      is_tag:
 
        required: true
 
        type: string
 

	
 
jobs:
 
  windows:
 
    strategy:
 
      fail-fast: false
 
      matrix:
 
        include:
 
        - arch: x86
 
          host: x86
 
        - arch: x64
 
          host: x64
 
        - arch: arm64
 
          host: x64_arm64
 

	
 
    name: Windows (${{ matrix.arch }}})
 
    name: Windows (${{ matrix.arch }})
 

	
 
    runs-on: windows-latest
 

	
 
    steps:
 
    - name: Download source
 
      uses: actions/download-artifact@v3
 
      with:
 
        name: internal-source
 

	
 
    - name: Unpack source
 
      shell: bash
 
      run: |
 
        tar -xf source.tar.gz --strip-components=1
 

	
 
    - name: Install dependencies
 
      shell: bash
 
      run: |
 
        choco install pandoc
 

	
 
    - name: Prepare cache key
 
      id: key
 
      shell: powershell
 
      run: |
 
        # Work around caching failure with GNU tar
 
        New-Item -Type Junction -Path vcpkg -Target c:\vcpkg
 

	
 
        Write-Output "image=$env:ImageOS-$env:ImageVersion" >> $env:GITHUB_OUTPUT
 

	
 
    - name: Enable vcpkg cache
 
      uses: actions/cache@v3
 
      with:
 
        path: vcpkg/installed
 
        key: ${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }}-0 # Increase the number whenever dependencies are modified
 
        restore-keys: |
 
          ${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }}
 

	
 
    - name: Prepare vcpkg
 
      shell: bash
 
      run: |
 
        vcpkg install --triplet=${{ matrix.arch }}-windows-static \
 
          liblzma \
 
          libpng \
 
          lzo \
 
          zlib \
 
          # EOF
 

	
 
    - name: Install MSVC problem matcher
 
      uses: ammaraskar/msvc-problem-matcher@master
0 comments (0 inline, 0 general)