diff --git a/.github/workflows/build_beta.yml b/.github/workflows/build_beta.yml index 28408ec99d..c0b72ea915 100644 --- a/.github/workflows/build_beta.yml +++ b/.github/workflows/build_beta.yml @@ -15,7 +15,7 @@ jobs: if: startsWith(github.ref, 'refs/tags') env: GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} - outputs: + outputs: changelog: ${{ steps.github_changelog.outputs.changelog }} steps: @@ -36,16 +36,16 @@ jobs: run: | echo ${{ steps.get_last_beta.outputs.tag_name }} - + - name: checkout version - uses: actions/checkout@v4.1.4 - with: + uses: actions/checkout@v6.0.2 + with: fetch-depth: 0 # github changelog - name: "Generate release changelog" id: github_changelog - uses: heinrichreimer/github-changelog-generator-action@v2.4 + uses: janheinrichmerker/action-github-changelog-generator@v2.4 with: sinceTag: ${{ steps.get_last_beta.outputs.tag_name }} token: ${{ secrets.GITHUB_TOKEN }} @@ -58,7 +58,7 @@ jobs: simpleList: true - name: Upload changelog - uses: actions/upload-artifact@v4.3.3 + uses: actions/upload-artifact@v7.0.1 with: name: changelog path: CHANGELOG.md @@ -68,16 +68,16 @@ jobs: PLUGIN_NAME: hdr runs-on: ubuntu-24.04 needs: version_and_changelog - container: + container: image: wuboyth/skyline-plugin-builder:latest - outputs: + outputs: trimmed_tag: ${{ steps.trimmed_tag.outputs.tag }} steps: # - name: setup python - # uses: actions/setup-python@v5.1.0 + # uses: actions/setup-python@v6.2.0 # with: # python-version: '3.9' # Version range or exact version of a Python version to use, using SemVer's version range syntax - + - id: trimmed_tag shell: bash run: | @@ -88,7 +88,7 @@ jobs: echo "##[set-output name=tag;]$TRIMMED"; - name: checkout version - uses: actions/checkout@v4.1.4 + uses: actions/checkout@v6.0.2 # build the project - run: | @@ -103,7 +103,7 @@ jobs: # echo lol > distributions/hdr-ryujinx.zip - name: Upload version - uses: actions/upload-artifact@v4.3.3 + uses: actions/upload-artifact@v7.0.1 with: name: version path: hdr_version.txt @@ -122,7 +122,7 @@ jobs: # upload asset - name: Upload binaries to release - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@v2.11.5 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: distributions/* @@ -139,7 +139,7 @@ jobs: needs: [version_and_changelog, plugin_build] steps: - name: checkout version - uses: actions/checkout@v4.1.4 + uses: actions/checkout@v6.0.2 - id: romfs_latest uses: pozetroninc/github-action-get-latest-release@master @@ -195,7 +195,7 @@ jobs: # upload the upgrade data to the previous release for auto updater - name: Upload upgrade data to previous release - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@v2.11.5 with: repo_token: ${{ secrets.RELEASE_TOKEN }} file: upgrade_artifacts/upgrade.zip @@ -208,7 +208,7 @@ jobs: # upload the upgrade data to the previous release for auto updater - name: Upload upgrade deletions to previous release - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@v2.11.5 with: repo_token: ${{ secrets.RELEASE_TOKEN }} file: upgrade_artifacts/deletions.json @@ -219,20 +219,20 @@ jobs: tag: ${{ steps.package_latest.outputs.release }} overwrite: true - - uses: actions/download-artifact@v4.1.7 + - uses: actions/download-artifact@v8.0.1 with: name: changelog - + - name: Display structure of downloaded changelog run: ls -R && cp CHANGELOG.md artifacts - - uses: actions/download-artifact@v4.1.7 + - uses: actions/download-artifact@v8.0.1 with: name: version - + # build the lvd files # - id: lvd_files - # uses: robinraju/release-downloader@v1.7 + # uses: robinraju/release-downloader@v1.13 # with: # repository: "techyCoder81/SSBU-LVD-data-dump" # tag: release @@ -265,7 +265,7 @@ jobs: # destination_branch: 'gh-pages' - name: Upload full package to betas - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@v2.11.5 with: repo_token: ${{ secrets.RELEASE_TOKEN }} file: artifacts/* @@ -284,11 +284,11 @@ jobs: needs: [full_package, version_and_changelog] steps: - name: checkout version - uses: actions/checkout@v4.1.4 + uses: actions/checkout@v6.0.2 # download the prerelease - id: latest_prerelease - uses: robinraju/release-downloader@v1.7 + uses: robinraju/release-downloader@v1.13 with: repository: "HDR-Development/HDR-PreReleases" latest: true @@ -318,7 +318,7 @@ jobs: # upload the to-prerelease.zip to the beta for the launcher - name: Upload to-prerelease.zip to beta - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@v2.11.5 with: repo_token: ${{ secrets.RELEASE_TOKEN }} file: to-prerelease.zip @@ -331,7 +331,7 @@ jobs: # upload the to_prerelease_deletions.json to the beta for the launcher - name: Upload to_prerelease_deletions.json to beta - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@v2.11.5 with: repo_token: ${{ secrets.RELEASE_TOKEN }} file: to_prerelease_deletions.json diff --git a/.github/workflows/build_devrelease.yml b/.github/workflows/build_devrelease.yml index d7be85f022..ae7c7c75c1 100644 --- a/.github/workflows/build_devrelease.yml +++ b/.github/workflows/build_devrelease.yml @@ -22,7 +22,7 @@ jobs: image: wuboyth/skyline-plugin-builder:latest steps: - name: checkout version - uses: actions/checkout@v4.1.4 + uses: actions/checkout@v6.0.2 # get the most recent latest full release - id: package_latest @@ -90,7 +90,7 @@ jobs: # upload the upgrade data to the previous release for auto updater # - name: Upload upgrade data to previous release # if: steps.package_latest.outcome != 'failure' - # uses: svenstaro/upload-release-action@v2 + # uses: svenstaro/upload-release-action@v2.11.5 # with: # repo_token: ${{ secrets.RELEASE_TOKEN }} # file: upgrade_artifacts/upgrade.zip @@ -105,7 +105,7 @@ jobs: # upload the upgrade deletions to the previous release for auto updater # - name: Upload upgrade deletions to previous release # if: steps.package_latest.outcome != 'failure' - # uses: svenstaro/upload-release-action@v2 + # uses: svenstaro/upload-release-action@v2.11.5 # with: # repo_token: ${{ secrets.RELEASE_TOKEN }} # file: upgrade_artifacts/deletions.json @@ -121,7 +121,7 @@ jobs: # run: ls -R && cp hdr_version.txt artifacts - name: Upload full package to devreleases - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@v2.11.5 with: repo_token: ${{ secrets.RELEASE_TOKEN }} file: artifacts/* diff --git a/.github/workflows/build_prerelease.yml b/.github/workflows/build_prerelease.yml index 6e5fe4fa47..de1e00a761 100644 --- a/.github/workflows/build_prerelease.yml +++ b/.github/workflows/build_prerelease.yml @@ -19,7 +19,7 @@ jobs: changelog: ${{ steps.github_changelog.outputs.changelog }} steps: - name: checkout version - uses: actions/checkout@v4.1.4 + uses: actions/checkout@v6.0.2 with: fetch-depth: 0 @@ -50,7 +50,7 @@ jobs: allowed-conclusions: success,skipped,cancelled,failure # tag push - - uses: jefflinse/pr-semver-bump@v1.6.0 + - uses: jefflinse/pr-semver-bump@v1.7.1 name: Bump and Tag Version id: push_tag with: @@ -63,7 +63,7 @@ jobs: # github changelog - name: "Generate release changelog" id: github_changelog - uses: heinrichreimer/github-changelog-generator-action@v2.4 + uses: janheinrichmerker/action-github-changelog-generator@v2.4 with: sinceTag: ${{ steps.push_tag.outputs.old-version }} stripHeaders: true @@ -76,7 +76,7 @@ jobs: token: ${{ secrets.RELEASE_TOKEN }} - name: Upload changelog - uses: actions/upload-artifact@v4.3.3 + uses: actions/upload-artifact@v7.0.1 with: name: changelog path: CHANGELOG.md @@ -90,12 +90,12 @@ jobs: image: wuboyth/skyline-plugin-builder:latest steps: # - name: setup python - # uses: actions/setup-python@v5.1.0 + # uses: actions/setup-python@v6.2.0 # with: # python-version: '3.9' # Version range or exact version of a Python version to use, using SemVer's version range syntax - name: checkout version - uses: actions/checkout@v4.1.4 + uses: actions/checkout@v6.0.2 #- name: Rust Cache # uses: Swatinem/rust-cache@v2.5.1 @@ -117,13 +117,13 @@ jobs: # echo lol > distributions/hdr-ryujinx.zip - name: Upload version artifact - uses: actions/upload-artifact@v4.3.3 + uses: actions/upload-artifact@v7.0.1 with: name: version path: hdr_version.txt - name: Upload distributions artifact - uses: actions/upload-artifact@v4.3.3 + uses: actions/upload-artifact@v7.0.1 with: name: distributions path: distributions @@ -133,13 +133,13 @@ jobs: runs-on: ubuntu-24.04 needs: [plugin_build, version_and_changelog] steps: - - uses: actions/download-artifact@v4.1.7 + - uses: actions/download-artifact@v8.0.1 with: name: distributions # upload asset - name: Upload binaries to release - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@v2.11.5 with: file: '*.zip' prerelease: true @@ -157,7 +157,7 @@ jobs: needs: upload_to_release steps: - name: checkout version - uses: actions/checkout@v4.1.4 + uses: actions/checkout@v6.0.2 with: fetch-depth: 0 - uses: ahmadnassri/action-workflow-queue@v1 @@ -171,7 +171,7 @@ jobs: needs: [version_and_changelog, wait_for_previous_builds] steps: - name: checkout version - uses: actions/checkout@v4.1.4 + uses: actions/checkout@v6.0.2 - id: romfs_version shell: bash @@ -219,7 +219,7 @@ jobs: # upload the upgrade data to the previous release for auto updater - name: Upload upgrade data to previous release if: steps.package_latest.outcome != 'failure' - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@v2.11.5 with: repo_token: ${{ secrets.RELEASE_TOKEN }} file: upgrade_artifacts/upgrade.zip @@ -233,7 +233,7 @@ jobs: # upload the upgrade data to the previous release for auto updater - name: Upload upgrade deletions to previous release if: steps.package_latest.outcome != 'failure' - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@v2.11.5 with: repo_token: ${{ secrets.RELEASE_TOKEN }} file: upgrade_artifacts/deletions.json @@ -244,20 +244,20 @@ jobs: tag: ${{ steps.package_latest.outputs.release }} overwrite: true - - uses: actions/download-artifact@v4.1.7 + - uses: actions/download-artifact@v8.0.1 with: name: changelog - name: Display structure of downloaded changelog run: ls -R && cp CHANGELOG.md artifacts - - uses: actions/download-artifact@v4.1.7 + - uses: actions/download-artifact@v8.0.1 with: name: version # build the lvd files # - id: lvd_files - # uses: robinraju/release-downloader@v1.7 + # uses: robinraju/release-downloader@v1.13 # with: # repository: "techyCoder81/SSBU-LVD-data-dump" # tag: release @@ -290,7 +290,7 @@ jobs: # destination_branch: 'gh-pages' - name: Upload full package to prereleases - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@v2.11.5 with: repo_token: ${{ secrets.RELEASE_TOKEN }} file: artifacts/* @@ -309,11 +309,11 @@ jobs: needs: [full_package, version_and_changelog] steps: - name: checkout version - uses: actions/checkout@v4.1.4 + uses: actions/checkout@v6.0.2 # get the prerelease - id: latest_prerelease - uses: robinraju/release-downloader@v1.7 + uses: robinraju/release-downloader@v1.13 with: repository: "HDR-Development/HDR-PreReleases" tag: ${{ needs.version_and_changelog.outputs.version }} @@ -343,7 +343,7 @@ jobs: # upload the to-prerelease.zip to the beta for the launcher - name: Upload to-prerelease.zip to beta - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@v2.11.5 with: repo_token: ${{ secrets.RELEASE_TOKEN }} file: to-prerelease.zip @@ -356,7 +356,7 @@ jobs: # upload the to_prerelease_deletions.json to the beta for the launcher - name: Upload to_prerelease_deletions.json to beta - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@v2.11.5 with: repo_token: ${{ secrets.RELEASE_TOKEN }} file: to_prerelease_deletions.json @@ -374,11 +374,11 @@ jobs: needs: [full_package, version_and_changelog] steps: - name: checkout version - uses: actions/checkout@v4.1.4 + uses: actions/checkout@v6.0.2 # get the beta - id: latest_beta - uses: robinraju/release-downloader@v1.7 + uses: robinraju/release-downloader@v1.13 with: repository: "HDR-Development/HDR-Releases" latest: true @@ -402,7 +402,7 @@ jobs: # upload the to-beta.zip to the beta for the launcher - name: Upload to-beta.zip to prerelease - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@v2.11.5 with: repo_token: ${{ secrets.RELEASE_TOKEN }} file: to-beta.zip @@ -415,7 +415,7 @@ jobs: # upload the to_beta_deletions.json to the beta for the launcher - name: Upload to_beta_deletions.json to prerelease - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@v2.11.5 with: repo_token: ${{ secrets.RELEASE_TOKEN }} file: to_beta_deletions.json diff --git a/.github/workflows/file_change_notifications.yml b/.github/workflows/file_change_notifications.yml index d9f67aaff4..aeb90bae4a 100644 --- a/.github/workflows/file_change_notifications.yml +++ b/.github/workflows/file_change_notifications.yml @@ -14,12 +14,12 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v6.0.2 with: fetch-depth: 2 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6.2.0 with: python-version: '3.x' @@ -59,7 +59,7 @@ jobs: "fighters/mewtwo/src/acmd/specials.rs:86-100" "fighters/richter/src/acmd/specials.rs:249-257" "fighters/simon/src/acmd/specials.rs:80-84" - + "fighters/lucas/src/acmd/aerials.rs" "fighters/mewtwo/src/acmd/aerials.rs" "fighters/ness/src/acmd/aerials.rs" @@ -125,9 +125,9 @@ jobs: "fighters/samusd/src/opff.rs:20-28" "fighters/wiifit/src/opff.rs:22-30" ) - + > $GITHUB_WORKSPACE/matched_files.txt - + CHANGED_FILES=$(git diff --unified=0 --name-only --diff-filter=ACMDR HEAD^ HEAD) for file in "${FILES_TO_WATCH[@]}"; do @@ -250,13 +250,13 @@ jobs: python -c " import os import yagmail - + # Set up Gmail SMTP yag = yagmail.SMTP( user=os.getenv('GMAIL_USER'), password=os.getenv('GMAIL_PASSWORD') ) - + # Prepare the email subject = os.getenv('EMAIL_SUBJECT') body = 'The following files were changed:\\n\\n' @@ -279,9 +279,9 @@ jobs: body += f'\\nLink to Pull Request: {link}\\n' else: body += f'\\nLink to Commit: {link}\\n' - + recipient = 'jamesdobrien97@gmail.com' - + # Send the email yag.send(to=recipient, subject=subject, contents=body) " diff --git a/.github/workflows/pr_build.yml b/.github/workflows/pr_build.yml index 4ac7e8b53b..17e125d1c0 100644 --- a/.github/workflows/pr_build.yml +++ b/.github/workflows/pr_build.yml @@ -1,5 +1,5 @@ name: pr_build -on: +on: pull_request: branches: - dev @@ -11,16 +11,16 @@ jobs: env: PLUGIN_NAME: hdr runs-on: ubuntu-24.04 - container: + container: image: wuboyth/skyline-plugin-builder:latest steps: # - name: setup python - # uses: actions/setup-python@v5.1.0 + # uses: actions/setup-python@v6.2.0 # with: - # python-version: '3.9' - + # python-version: '3.9' + - name: checkout version - uses: actions/checkout@v4.1.4 + uses: actions/checkout@v6.0.2 #- name: Rust Cache # uses: Swatinem/rust-cache@v2.5.1 @@ -42,7 +42,7 @@ jobs: # echo lol > distributions/hdr-ryujinx.zip - name: Upload hdr-switch - uses: actions/upload-artifact@v4.3.3 + uses: actions/upload-artifact@v7.0.1 with: name: hdr-switch path: build/hdr-switch diff --git a/.github/workflows/publish_lvd_beta.yml b/.github/workflows/publish_lvd_beta.yml index 1c94f6b04c..0be62502f2 100644 --- a/.github/workflows/publish_lvd_beta.yml +++ b/.github/workflows/publish_lvd_beta.yml @@ -15,7 +15,7 @@ jobs: runs-on: windows-latest steps: - name: checkout version - uses: actions/checkout@v4.1.4 + uses: actions/checkout@v6.0.2 - id: romfs_zip uses: robinraju/release-downloader@v1.8