Skip to content

Commit

Permalink
CI: Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Margen67 committed Dec 17, 2024
1 parent 50334cb commit 8ee17b5
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 43 deletions.
112 changes: 74 additions & 38 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,75 +1,111 @@
# Labels are in alphabetical order.

cmake:
- 'CMake*'
- '**/CMakeLists.txt'
- '**/*.cmake'
- changed-files:
- any-glob-to-any-file:
- 'CMake*'
- '**/CMakeLists.txt'
- '**/*.cmake'

cpu-emulation:
- 'src/devices/x86/**'
- changed-files:
- any-glob-to-any-file:
- 'src/devices/x86/**'

deployment:
- '*.yml'
- '.github/workflows/CI.yml'
- changed-files:
- any-glob-to-any-file:
- '*.yml'
- '.github/workflows/CI.yml'

file-system:
- 'src/core/kernel/support/EmuFile*'
- changed-files:
- any-glob-to-any-file:
- 'src/core/kernel/support/EmuFile*'

graphics:
- 'src/core/hle/D3D8/**'
- 'src/core/hle/XGRAPHIC/**'
- 'src/devices/video/**'
- 'src/gui/*Video*'
- changed-files:
- any-glob-to-any-file:
- 'src/core/hle/D3D8/**'
- 'src/core/hle/XGRAPHIC/**'
- 'src/devices/video/**'
- 'src/gui/*Video*'

HLE:
- 'src/core/hle/**'
- 'src/core/kernel/**'
- changed-files:
- any-glob-to-any-file:
- 'src/core/hle/**'
- 'src/core/kernel/**'

informational:
- '**/*Logging*'
- '**/*Logging*/**'
- '**/README.md'
- changed-files:
- any-glob-to-any-file:
- '**/*Logging*'
- '**/*Logging*/**'
- '**/README.md'

input:
- 'src/common/input/**'
- 'src/core/hle/XAPI/input/**'
- 'src/devices/usb/**'
- 'src/gui/controllers/**'
- 'src/gui/*Input*'
- changed-files:
- any-glob-to-any-file:
- 'src/common/input/**'
- 'src/core/hle/XAPI/input/**'
- 'src/devices/usb/**'
- 'src/gui/controllers/**'
- 'src/gui/*Input*'

kernel:
- 'src/core/kernel/**'
- changed-files:
- any-glob-to-any-file:
- 'src/core/kernel/**'

LLE:
- 'src/devices/**'
- changed-files:
- any-glob-to-any-file:
- 'src/devices/**'

memory:
- 'src/core/kernel/memory-manager/**'
- changed-files:
- any-glob-to-any-file:
- 'src/core/kernel/memory-manager/**'

networking:
- 'src/core/hle/XONLINE/**'
- 'src/devices/network/**'
- 'src/gui/*Network*'
- changed-files:
- any-glob-to-any-file:
- 'src/core/hle/XONLINE/**'
- 'src/devices/network/**'
- 'src/gui/*Network*'

sound:
- 'src/common/audio/**'
- 'src/core/hle/DSOUND/**'
- 'src/core/hle/XACTENG/**'
- 'src/devices/audio/**'
- 'src/gui/*Audio*'
- changed-files:
- any-glob-to-any-file:
- 'src/common/audio/**'
- 'src/core/hle/DSOUND/**'
- 'src/core/hle/XACTENG/**'
- 'src/devices/audio/**'
- 'src/gui/*Audio*'

modules:
- 'import/**'
- changed-files:
- any-glob-to-any-file:
- 'import/**'

threading:
- 'src/core/kernel/support/EmuFS*'
- changed-files:
- any-glob-to-any-file:
- 'src/core/kernel/support/EmuFS*'

timing:
- 'src/common/Timer*'
- changed-files:
- any-glob-to-any-file:
- 'src/common/Timer*'

user interface:
- 'src/core/common/imgui/*'
- 'src/gui/**'
- changed-files:
- any-glob-to-any-file:
- 'src/core/common/imgui/*'
- 'src/gui/**'

xbdm:
- 'src/common/xbdm/**'
- changed-files:
- any-glob-to-any-file:
- 'src/common/xbdm/**'
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Prepare artifacts
if: matrix.configuration == 'Release'
run: cmake --install build --config ${{ matrix.configuration }} --prefix artifacts
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: matrix.configuration == 'Release'
with:
name: CxbxReloaded-${{ matrix.configuration }}-VS${{ matrix.vsver }}
Expand All @@ -61,7 +61,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: artifacts
- name: Re-zip artifacts
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Automatically close issues that don't follow the issue template
uses: ergo720/auto-close-issues@v1.0.4
uses: ergo720/auto-close-issues@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-close-message: "@${issue.user.login}: your issue has been automatically closed because it does not follow the issue template." # optional property
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Labeler
uses: actions/labeler@v4
uses: actions/labeler@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
sync-labels: true

0 comments on commit 8ee17b5

Please sign in to comment.