Skip to content

Commit d1dd752

Browse files
authored
Merge pull request #1986 from salmanmkc/upgrade-github-actions-node24-general
Upgrade GitHub Actions to latest versions
2 parents 1d2d7d2 + 66896ea commit d1dd752

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ jobs:
3838
draftBuildCode: ${{ steps.draftBuildCode.outputs.datetime }}
3939
runs-on: ubuntu-latest
4040
steps:
41-
- uses: actions/checkout@v6
42-
- uses: subosito/flutter-action@v2.16.0 #issue with 2.13
41+
- uses: actions/checkout@v3
42+
- uses: subosito/flutter-action@v2.21.0 #issue with 2.13
4343
with:
4444
flutter-version: ${{ env.FLUTTER_VERSION }}
4545
channel: 'stable'
@@ -114,7 +114,7 @@ jobs:
114114

115115
- name: Import Apple Codesign Certificates
116116
if: ${{ inputs.upload-artifact && startsWith(matrix.os,'macos') }}
117-
uses: apple-actions/import-codesign-certs@v3
117+
uses: apple-actions/import-codesign-certs@v6
118118
with:
119119
p12-file-base64: "${{ secrets.APPLE_CERTIFICATE_P12 }}"
120120
p12-password: "${{ secrets.APPLE_CERTIFICATE_P12_PASSWORD }}"
@@ -398,7 +398,7 @@ jobs:
398398
gitchangelog "${prelease}.." >> release.md 2>&1 || echo "Error in gitchangelog"
399399
echo -e "\n\n</details>">>release.md
400400
- name: Create or Update Draft Release
401-
uses: softprops/action-gh-release@v1
401+
uses: softprops/action-gh-release@v2
402402
env:
403403
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
404404
with:
@@ -409,7 +409,7 @@ jobs:
409409
prerelease: true
410410

411411
- name: Create or Update Draft Release
412-
uses: softprops/action-gh-release@v1
412+
uses: softprops/action-gh-release@v2
413413
env:
414414
GITHUB_TOKEN: ${{ secrets.TOKEN_FOR_HIDDIFY_APP_REPO }}
415415
GITHUB_REPOSITORY: hiddify/hiddify-app
@@ -450,7 +450,7 @@ jobs:
450450
sed 's|RELEASE_TAG|${{ env.TAG_NAME }}|g' ./.github/release_message.md >> release.md
451451
452452
- name: Upload Release
453-
uses: softprops/action-gh-release@v1
453+
uses: softprops/action-gh-release@v2
454454
if: ${{ success() }}
455455
env:
456456
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -488,7 +488,7 @@ jobs:
488488
pattern: "*ios*"
489489
path: ./out/
490490

491-
- uses: Apple-Actions/import-codesign-certs@v2
491+
- uses: Apple-Actions/import-codesign-certs@v6
492492
with:
493493
p12-file-base64: ${{ secrets.APPLE_UPLOAD_CERTIFICATE_P12 }}
494494
p12-password: ${{ secrets.APPLE_CERTIFICATE_P12_PASSWORD }}
@@ -514,7 +514,7 @@ jobs:
514514
echo "${{secrets.APPLE_DIST_PROVISIONING_PROFILES_TARGZ_BASE64}}"|base64 --decode | tar xz -C ~/Library/MobileDevice/Provisioning\ Profiles
515515
#echo "${{secrets.NEW_APPLE_STORE_PROVISIONING_PROFILES_TARXZ_BASE64}}"|base64 --decode | tar xJ -C ~/Library/MobileDevice/Provisioning\ Profiles
516516

517-
- uses: Apple-Actions/upload-testflight-build@v1
517+
- uses: Apple-Actions/upload-testflight-build@v4
518518
with:
519519
app-path: 'out/Hiddify-iOS.ipa'
520520
issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}

0 commit comments

Comments
 (0)