]> git.lizzy.rs Git - rust.git/blobdiff - .github/workflows/release.yaml
Really switch XCode version
[rust.git] / .github / workflows / release.yaml
index f0ff7d71fc7cf37d5bd945921a1d64fbe2a4cb61..da3db7846e314b63e3f82c7aab5ceed9bba20aa1 100644 (file)
@@ -2,6 +2,8 @@ name: release
 on:
   schedule:
   - cron: '0 0 * * *' # midnight UTC
+  
+  workflow_dispatch:
 
   push:
     branches:
@@ -106,7 +108,7 @@ jobs:
     - name: Install Nodejs
       uses: actions/setup-node@v1
       with:
-        node-version: 12.x
+        node-version: 14.x
 
     - name: Dist
       run: cargo xtask dist --client-patch-version $GITHUB_RUN_NUMBER
@@ -194,11 +196,12 @@ jobs:
     runs-on: macos-latest
     env:
       RA_TARGET: x86_64-apple-darwin
-      SELECT_XCODE: /Applications/Xcode_12.2.app
+#      SELECT_XCODE: /Applications/Xcode_12.2.app
 
     steps:
-    - name: Select XCode version
-      run: sudo xcode-select -s "${SELECT_XCODE}"
+# use the default (12.5.1 as of today)
+#    - name: Select XCode version
+#      run: sudo xcode-select -s "${SELECT_XCODE}"
 
     - name: Checkout repository
       uses: actions/checkout@v2
@@ -226,11 +229,11 @@ jobs:
     runs-on: macos-latest
     env:
       RA_TARGET: aarch64-apple-darwin
-      SELECT_XCODE: /Applications/Xcode_12.2.app
+#      SELECT_XCODE: /Applications/Xcode_12.2.app
 
     steps:
-    - name: Select XCode version
-      run: sudo xcode-select -s "${SELECT_XCODE}"
+#    - name: Select XCode version
+#      run: sudo xcode-select -s "${SELECT_XCODE}"
 
     - name: Checkout repository
       uses: actions/checkout@v2
@@ -262,7 +265,7 @@ jobs:
     - name: Install Nodejs
       uses: actions/setup-node@v1
       with:
-        node-version: 12.x
+        node-version: 14.x
 
     - run: echo "TAG=$(date --iso -u)" >> $GITHUB_ENV
       if: github.ref == 'refs/heads/release'