on:
schedule:
- cron: '0 0 * * *' # midnight UTC
+
+ workflow_dispatch:
push:
branches:
- 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
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
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
- 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'