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

View File

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

View File

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

View File

@ -40,7 +40,7 @@ jobs:
env: env:
CC: ${{ matrix.cc }} ${{ matrix.xflags }} CC: ${{ matrix.cc }} ${{ matrix.xflags }}
CXX: ${{ matrix.cxx }} ${{ 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 }} runs-on: ${{ matrix.os }}
steps: steps:
- run: git config --global core.autocrlf false - run: git config --global core.autocrlf false

View File

@ -38,7 +38,7 @@ jobs:
env: env:
CC: ${{ matrix.cc }} ${{ matrix.xflags }} CC: ${{ matrix.cc }} ${{ matrix.xflags }}
CXX: ${{ matrix.cxx }} ${{ 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 }} runs-on: ${{ matrix.os }}
steps: steps:
- run: git config --global core.autocrlf false - run: git config --global core.autocrlf false