Преглед на файлове

github: update action versions

osy преди 3 години
родител
ревизия
cc1d531dbe
променени са 1 файла, в които са добавени 23 реда и са изтрити 23 реда
  1. 23 23
      .github/workflows/build.yml

+ 23 - 23
.github/workflows/build.yml

@@ -39,7 +39,7 @@ jobs:
             platform: ios-tci
             platform: ios-tci
     steps:
     steps:
       - name: Checkout
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
         with:
           submodules: recursive
           submodules: recursive
       - name: Setup Xcode
       - name: Setup Xcode
@@ -69,7 +69,7 @@ jobs:
         run: tar -acf sysroot.tgz sysroot*
         run: tar -acf sysroot.tgz sysroot*
       - name: Upload Sysroot
       - name: Upload Sysroot
         if: steps.cache-sysroot.outputs.cache-hit != 'true' || github.event_name == 'release' || github.event.inputs.test_release == 'true'
         if: steps.cache-sysroot.outputs.cache-hit != 'true' || github.event_name == 'release' || github.event.inputs.test_release == 'true'
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v3
         with:
         with:
           name: Sysroot-${{ matrix.platform }}-${{ matrix.arch }}
           name: Sysroot-${{ matrix.platform }}-${{ matrix.arch }}
           path: sysroot.tgz
           path: sysroot.tgz
@@ -79,7 +79,7 @@ jobs:
     needs: build-sysroot
     needs: build-sysroot
     steps:
     steps:
       - name: Checkout
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
       - name: Cache Sysroot (Universal Mac)
       - name: Cache Sysroot (Universal Mac)
         id: cache-sysroot-universal
         id: cache-sysroot-universal
         uses: actions/cache@v3
         uses: actions/cache@v3
@@ -114,7 +114,7 @@ jobs:
         run: tar -acf sysroot.tgz sysroot-macOS-arm64_x86_64
         run: tar -acf sysroot.tgz sysroot-macOS-arm64_x86_64
       - name: Upload Sysroot
       - name: Upload Sysroot
         if: steps.cache-sysroot-universal.outputs.cache-hit != 'true' || github.event_name == 'release' || github.event.inputs.test_release == 'true'
         if: steps.cache-sysroot-universal.outputs.cache-hit != 'true' || github.event_name == 'release' || github.event.inputs.test_release == 'true'
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v3
         with:
         with:
           name: Sysroot-macos-universal
           name: Sysroot-macos-universal
           path: sysroot.tgz
           path: sysroot.tgz
@@ -133,7 +133,7 @@ jobs:
             platform: ios-tci
             platform: ios-tci
     steps:
     steps:
       - name: Checkout
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
         with:
           submodules: recursive
           submodules: recursive
       - name: Cache Sysroot
       - name: Cache Sysroot
@@ -155,7 +155,7 @@ jobs:
           ./scripts/build_utm.sh -p ${{ matrix.platform }} -a ${{ matrix.arch }} -o UTM
           ./scripts/build_utm.sh -p ${{ matrix.platform }} -a ${{ matrix.arch }} -o UTM
           tar -acf UTM.xcarchive.tgz UTM.xcarchive
           tar -acf UTM.xcarchive.tgz UTM.xcarchive
       - name: Upload UTM
       - name: Upload UTM
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v3
         with:
         with:
           name: UTM-${{ matrix.platform }}-${{ matrix.arch }}
           name: UTM-${{ matrix.platform }}-${{ matrix.arch }}
           path: UTM.xcarchive.tgz
           path: UTM.xcarchive.tgz
@@ -165,7 +165,7 @@ jobs:
     needs: build-sysroot-universal
     needs: build-sysroot-universal
     steps:
     steps:
       - name: Checkout
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
         with:
           submodules: recursive
           submodules: recursive
       - name: Cache Sysroot
       - name: Cache Sysroot
@@ -189,7 +189,7 @@ jobs:
         env:
         env:
           SIGNING_TEAM_ID: ${{ secrets.SIGNING_TEAM_ID }}
           SIGNING_TEAM_ID: ${{ secrets.SIGNING_TEAM_ID }}
       - name: Upload UTM
       - name: Upload UTM
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v3
         with:
         with:
           name: UTM-macos-universal
           name: UTM-macos-universal
           path: UTM.xcarchive.tgz
           path: UTM.xcarchive.tgz
@@ -200,9 +200,9 @@ jobs:
     if: github.event_name == 'release' || github.event.inputs.test_release == 'true'
     if: github.event_name == 'release' || github.event.inputs.test_release == 'true'
     steps:
     steps:
       - name: Checkout
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
       - name: Download Artifact
       - name: Download Artifact
-        uses: actions/download-artifact@v2
+        uses: actions/download-artifact@v3
         with:
         with:
           name: UTM-ios-arm64
           name: UTM-ios-arm64
       - name: Install ldid
       - name: Install ldid
@@ -213,7 +213,7 @@ jobs:
           ./scripts/package.sh ipa UTM.xcarchive .
           ./scripts/package.sh ipa UTM.xcarchive .
       - name: Upload Artifact
       - name: Upload Artifact
         if: github.event_name != 'release'
         if: github.event_name != 'release'
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v3
         with:
         with:
           name: UTM-ipa
           name: UTM-ipa
           path: UTM.ipa
           path: UTM.ipa
@@ -242,9 +242,9 @@ jobs:
     if: github.event_name == 'release' || github.event.inputs.test_release == 'true'
     if: github.event_name == 'release' || github.event.inputs.test_release == 'true'
     steps:
     steps:
       - name: Checkout
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
       - name: Download Artifact
       - name: Download Artifact
-        uses: actions/download-artifact@v2
+        uses: actions/download-artifact@v3
         with:
         with:
           name: UTM-ios-tci-arm64
           name: UTM-ios-tci-arm64
       - name: Install ldid
       - name: Install ldid
@@ -255,7 +255,7 @@ jobs:
           ./scripts/package.sh ipa-se UTM.xcarchive .
           ./scripts/package.sh ipa-se UTM.xcarchive .
       - name: Upload Artifact
       - name: Upload Artifact
         if: github.event_name != 'release'
         if: github.event_name != 'release'
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v3
         with:
         with:
           name: UTM-SE-ipa
           name: UTM-SE-ipa
           path: UTM SE.ipa
           path: UTM SE.ipa
@@ -284,9 +284,9 @@ jobs:
     if: github.event_name == 'release' || github.event.inputs.test_release == 'true'
     if: github.event_name == 'release' || github.event.inputs.test_release == 'true'
     steps:
     steps:
       - name: Checkout
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
       - name: Download Artifact
       - name: Download Artifact
-        uses: actions/download-artifact@v2
+        uses: actions/download-artifact@v3
         with:
         with:
           name: UTM-ios-arm64
           name: UTM-ios-arm64
       - name: Install ldid + dpkg
       - name: Install ldid + dpkg
@@ -297,7 +297,7 @@ jobs:
           ./scripts/package.sh deb UTM.xcarchive .
           ./scripts/package.sh deb UTM.xcarchive .
       - name: Upload Artifact
       - name: Upload Artifact
         if: github.event_name != 'release'
         if: github.event_name != 'release'
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v3
         with:
         with:
           name: UTM-deb
           name: UTM-deb
           path: UTM.deb
           path: UTM.deb
@@ -326,7 +326,7 @@ jobs:
     if: github.event_name == 'release' || github.event.inputs.test_release == 'true'
     if: github.event_name == 'release' || github.event.inputs.test_release == 'true'
     steps:
     steps:
       - name: Checkout
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
       - name: Import signing certificate into keychain
       - name: Import signing certificate into keychain
         uses: apple-actions/import-codesign-certs@v1
         uses: apple-actions/import-codesign-certs@v1
         with:
         with:
@@ -348,7 +348,7 @@ jobs:
       - name: Install appdmg
       - name: Install appdmg
         run: npm install -g appdmg
         run: npm install -g appdmg
       - name: Download Artifact
       - name: Download Artifact
-        uses: actions/download-artifact@v2
+        uses: actions/download-artifact@v3
         with:
         with:
           name: UTM-macos-universal
           name: UTM-macos-universal
       - name: Package for Release
       - name: Package for Release
@@ -367,7 +367,7 @@ jobs:
           NOTARIZE_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
           NOTARIZE_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
       - name: Upload Artifact
       - name: Upload Artifact
         if: github.event_name != 'release'
         if: github.event_name != 'release'
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v3
         with:
         with:
           name: UTM-dmg
           name: UTM-dmg
           path: UTM.dmg
           path: UTM.dmg
@@ -388,7 +388,7 @@ jobs:
     if: github.event_name == 'release' || github.event.inputs.test_release == 'true'
     if: github.event_name == 'release' || github.event.inputs.test_release == 'true'
     steps:
     steps:
       - name: Checkout
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
       - name: Import signing certificate into keychain
       - name: Import signing certificate into keychain
         uses: apple-actions/import-codesign-certs@v1
         uses: apple-actions/import-codesign-certs@v1
         with:
         with:
@@ -408,7 +408,7 @@ jobs:
           LAUNCHER_PROFILE_DATA: ${{ secrets.APP_STORE_LAUNCHER_PROFILE_DATA }}
           LAUNCHER_PROFILE_DATA: ${{ secrets.APP_STORE_LAUNCHER_PROFILE_DATA }}
           LAUNCHER_PROFILE_UUID: ${{ secrets.APP_STORE_LAUNCHER_PROFILE_UUID }}
           LAUNCHER_PROFILE_UUID: ${{ secrets.APP_STORE_LAUNCHER_PROFILE_UUID }}
       - name: Download Artifact
       - name: Download Artifact
-        uses: actions/download-artifact@v2
+        uses: actions/download-artifact@v3
         with:
         with:
           name: UTM-macos-universal
           name: UTM-macos-universal
       - name: Package for App Store
       - name: Package for App Store
@@ -422,7 +422,7 @@ jobs:
           LAUNCHER_PROFILE_UUID: ${{ secrets.APP_STORE_LAUNCHER_PROFILE_UUID }}
           LAUNCHER_PROFILE_UUID: ${{ secrets.APP_STORE_LAUNCHER_PROFILE_UUID }}
       - name: Upload Artifact
       - name: Upload Artifact
         if: github.event_name != 'release'
         if: github.event_name != 'release'
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v3
         with:
         with:
           name: UTM-pkg
           name: UTM-pkg
           path: UTM.pkg
           path: UTM.pkg