CI updates

This commit is contained in:
Markus F.X.J. Oberhumer 2023-11-08 11:25:23 +01:00
parent d7142312c9
commit a5c32db01b
5 changed files with 6 additions and 6 deletions

View File

@ -307,8 +307,8 @@ jobs:
run: |
git clone --depth=1 https://github.com/upx/upx-testsuite ../deps/upx-testsuite
mkdir -p -v build/$C/$B/{bzip2,ucl,upx,zlib,zstd}
repo_name="${GITHUB_REPOSITORY##*/}" # basename
echo "H=d:\\a\\$repo_name\\$repo_name" >> $GITHUB_ENV
repository_name="${GITHUB_REPOSITORY##*/}" # basename
echo "H=d:\\a\\$repository_name\\$repository_name" >> $GITHUB_ENV
- name: 'Set up Developer Command Prompt'
uses: ilammy/msvc-dev-cmd@cec98b9d092141f74527d0afa6feb2af698cfe89 # v1.12.1
with:

View File

@ -18,7 +18,7 @@ on:
workflow_dispatch:
jobs:
job-close-inactive-issues:
if: github.repository_owner == 'upx'
if: github.repository_owner == 'upx' && github.repository == 'upx/upx'
name: 'Close inactive issues'
runs-on: ubuntu-latest
permissions:

View File

@ -5,7 +5,7 @@ on:
workflow_dispatch:
jobs:
job-close-pull-requests:
if: github.repository_owner == 'upx'
if: github.repository_owner == 'upx' && github.repository == 'upx/upx'
name: 'Close pull requests'
runs-on: ubuntu-latest
permissions:

View File

@ -40,7 +40,7 @@ jobs:
env:
CC: ${{ matrix.cc }} ${{ matrix.xflags }}
CXX: ${{ matrix.cxx }} ${{ matrix.xflags }}
name: ${{ format('{0} {1} {2}', matrix.cc, matrix.vsversion, matrix.arch) }}
name: ${{ format('{0} {1} {2} {3}', matrix.cc, matrix.vsversion, matrix.arch, matrix.os) }}
runs-on: ${{ matrix.os }}
steps:
- run: git config --global core.autocrlf false

View File

@ -38,7 +38,7 @@ jobs:
env:
CC: ${{ matrix.cc }} ${{ matrix.xflags }}
CXX: ${{ matrix.cxx }} ${{ matrix.xflags }}
name: ${{ format('{0} {1} {2}', matrix.cc, matrix.vsversion, matrix.arch) }}
name: ${{ format('{0} {1} {2} {3}', matrix.cc, matrix.vsversion, matrix.arch, matrix.os) }}
runs-on: ${{ matrix.os }}
steps:
- run: git config --global core.autocrlf false