Update workflows (#367)

This commit is contained in:
Caner Karaca
2025-06-05 17:57:00 +03:00
committed by GitHub
parent 8aadf51311
commit 7c56a44fcf
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ jobs:
runs-on: [ self-hosted, Windows ]
name: CI
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Check CMake version
run: cmake --version
@@ -36,4 +36,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: RelWithDebInfo-Clang
path: build/YimMenuV2-dev-*.dll
path: build/YimMenuV2-dev-*.dll
+5 -5
View File
@@ -17,7 +17,7 @@ jobs:
outputs:
should_run: ${{ steps.should_run.outputs.should_run }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- id: should_run
name: Check if latest commit date is within the previous 24 hours
@@ -37,7 +37,7 @@ jobs:
full_sha: ${{ steps.var.outputs.full_sha }}
short_sha: ${{ steps.var.outputs.short_sha }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
@@ -75,11 +75,11 @@ jobs:
needs: build_nightly
if: needs.check_recent_commit.outputs.should_run == 'true'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Delete Existing Release
id: delete_release
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const owner = context.repo.owner;
@@ -131,7 +131,7 @@ jobs:
cat sha256.checksum
- name: Nightly Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
name: Nightly [${{ needs.build_nightly.outputs.short_sha }}]
tag_name: nightly
+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
# Assume the 0th index in the array of found PRs is the correct one (it seems to usually be the latest one)
PR_NUM=$(echo $PR_RAW | jq '.items | map(select(.repository_url=="https://api.github.com/repos/${{ github.repository }}")) | .[0].number')
echo "PR_NUM=${PR_NUM}" >> $GITHUB_ENV
- uses: actions/github-script@v6
- uses: actions/github-script@v7
with:
# This snippet is public-domain, taken from
# https://github.com/oprypin/nightly.link/blob/master/.github/workflows/pr-comment.yml