diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 06bab2cf0..d5668b8d1 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -130,6 +130,14 @@ jobs: with: node-version: '14.x' + # Temporary fix for "ValueError: invalid mode: 'rU' while trying to load binding.gyp" + # See + # This can be removed when "prebuild" updates "node-gyp" + - name: Set up Python 3.10 + uses: actions/setup-python@v4 + with: + python-version: '3.10' + - name: Get current date run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest' @@ -351,4 +359,4 @@ jobs: working-directory: bindings/java/iota-wallet-java/ run: | chmod +x gradlew - ./gradlew test -i \ No newline at end of file + ./gradlew test -i diff --git a/.github/workflows/covector-version-or-publish.yml b/.github/workflows/covector-version-or-publish.yml index 9bf874bf3..8a0ee00a1 100644 --- a/.github/workflows/covector-version-or-publish.yml +++ b/.github/workflows/covector-version-or-publish.yml @@ -72,6 +72,14 @@ jobs: with: node-version: ${{ matrix.node-version }} + # Temporary fix for "ValueError: invalid mode: 'rU' while trying to load binding.gyp" + # See + # This can be removed when "prebuild" updates "node-gyp" + - name: Set up Python 3.10 + uses: actions/setup-python@v4 + with: + python-version: '3.10' + - name: Install Rust toolchain uses: actions-rs/toolchain@v1 with: