diff --git a/.github/workflows/dev-release.yml b/.github/workflows/dev-release.yml index a840ed4..b18532e 100644 --- a/.github/workflows/dev-release.yml +++ b/.github/workflows/dev-release.yml @@ -24,11 +24,11 @@ jobs: - win steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Install node ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} cache: yarn @@ -67,7 +67,7 @@ jobs: certificate-data: WINDOZE_CERT_DATA certificate-password: WINDOZE_CERT_PASSWORD result: hyperdrive-win-arm64-${{ github.ref_name }}.exe - - os: macos-11 + - os: macos-12 key: hyperdrive-node16-macos-x64-${{ github.sha }} file: hyperdrive/hyperdrive certificate-data: APPLE_CERT_DATA @@ -78,7 +78,7 @@ jobs: apple-notary-password: APPLE_NOTARY_PASSWORD options: --options runtime --entitlements entitlements.xml result: hyperdrive-macos-x64-${{ github.ref_name }} - - os: macos-11 + - os: macos-12 key: hyperdrive-node16-macos-arm64-${{ github.sha }} file: hyperdrive/hyperdrive certificate-data: APPLE_CERT_DATA @@ -89,18 +89,18 @@ jobs: apple-notary-password: APPLE_NOTARY_PASSWORD options: --options runtime --entitlements entitlements.xml result: hyperdrive-macos-arm64-${{ github.ref_name }} - - os: ubuntu-20.04 + - os: ubuntu-22.04 key: hyperdrive-node16-linux-x64-${{ github.sha }} file: hyperdrive/hyperdrive result: hyperdrive-linux-x64-${{ github.ref_name }} - - os: ubuntu-20.04 + - os: ubuntu-22.04 key: hyperdrive-node16-linux-arm64-${{ github.sha }} file: hyperdrive/hyperdrive result: hyperdrive-linux-arm64-${{ github.ref_name }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Download ${{ matrix.key }} uses: actions/download-artifact@v3 with: @@ -128,7 +128,7 @@ jobs: chmod +x releases/* ls -lsa releases - name: Configure S3 Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v2 with: aws-access-key-id: ${{ secrets.S3_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.S3_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/pr-deploy-tests.yml b/.github/workflows/pr-deploy-tests.yml index 6971c74..1018901 100644 --- a/.github/workflows/pr-deploy-tests.yml +++ b/.github/workflows/pr-deploy-tests.yml @@ -5,7 +5,7 @@ on: jobs: package: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: TERM: xterm strategy: @@ -21,11 +21,11 @@ jobs: - win steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Install node ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} cache: yarn @@ -64,7 +64,7 @@ jobs: certificate-data: WINDOZE_CERT_DATA certificate-password: WINDOZE_CERT_PASSWORD result: hyperdrive-win-arm64-snapshot-${{ github.sha }}.exe - - os: macos-11 + - os: macos-12 key: hyperdrive-node16-macos-x64-${{ github.sha }} file: hyperdrive/hyperdrive certificate-data: APPLE_CERT_DATA @@ -75,7 +75,7 @@ jobs: apple-notary-password: APPLE_NOTARY_PASSWORD options: --options runtime --entitlements entitlements.xml result: hyperdrive-macos-x64-snapshot-${{ github.sha }} - - os: macos-11 + - os: macos-12 key: hyperdrive-node16-macos-arm64-${{ github.sha }} file: hyperdrive/hyperdrive certificate-data: APPLE_CERT_DATA @@ -86,18 +86,18 @@ jobs: apple-notary-password: APPLE_NOTARY_PASSWORD options: --options runtime --entitlements entitlements.xml result: hyperdrive-macos-arm64-snapshot-${{ github.sha }} - - os: ubuntu-20.04 + - os: ubuntu-22.04 key: hyperdrive-node16-linux-x64-${{ github.sha }} file: hyperdrive/hyperdrive result: hyperdrive-linux-x64-snapshot-${{ github.sha }} - - os: ubuntu-20.04 + - os: ubuntu-22.04 key: hyperdrive-node16-linux-arm64-${{ github.sha }} file: hyperdrive/hyperdrive result: hyperdrive-linux-arm64-snapshot-${{ github.sha }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Download ${{ matrix.key }} uses: actions/download-artifact@v3 with: diff --git a/.github/workflows/pr-leia-tests.yml b/.github/workflows/pr-leia-tests.yml index ef533c4..1219d29 100644 --- a/.github/workflows/pr-leia-tests.yml +++ b/.github/workflows/pr-leia-tests.yml @@ -14,15 +14,15 @@ jobs: - examples/basics os: - windows-2022 - - ubuntu-20.04 - - macos-11 + - ubuntu-22.04 + - macos-12 node-version: - '16' steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install node ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} cache: yarn diff --git a/.github/workflows/pr-linter.yml b/.github/workflows/pr-linter.yml index 6225517..1a2b7f1 100644 --- a/.github/workflows/pr-linter.yml +++ b/.github/workflows/pr-linter.yml @@ -11,15 +11,15 @@ jobs: strategy: matrix: os: - - ubuntu-20.04 + - ubuntu-22.04 node-version: - '16' steps: # Install deps and cache - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install node ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} cache: yarn diff --git a/.github/workflows/pr-unit-tests.yml b/.github/workflows/pr-unit-tests.yml index 8ce4409..6abd9ec 100644 --- a/.github/workflows/pr-unit-tests.yml +++ b/.github/workflows/pr-unit-tests.yml @@ -10,16 +10,16 @@ jobs: matrix: os: - windows-2022 - - ubuntu-20.04 - - macos-11 + - ubuntu-22.04 + - macos-12 node-version: - '16' steps: # Install deps and cache - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install node ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} cache: yarn diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 688c6e9..c614230 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,11 +4,10 @@ on: release: types: - published - - edited jobs: package: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: TERM: xterm strategy: @@ -24,11 +23,11 @@ jobs: - win steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Install node ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} cache: yarn @@ -65,7 +64,7 @@ jobs: certificate-password: WINDOZE_CERT_PASSWORD result: hyperdrive-win-arm64-${{ github.ref_name }}.exe compressed: hyperdrive-win-arm64-${{ github.ref_name }}.tar.gz - - os: macos-11 + - os: macos-12 key: hyperdrive-node16-macos-x64-${{ github.sha }} file: hyperdrive/hyperdrive certificate-data: APPLE_CERT_DATA @@ -77,7 +76,7 @@ jobs: options: --options runtime --entitlements entitlements.xml result: hyperdrive-macos-x64-${{ github.ref_name }} compressed: hyperdrive-macos-x64-${{ github.ref_name }}.tar.gz - - os: macos-11 + - os: macos-12 key: hyperdrive-node16-macos-arm64-${{ github.sha }} file: hyperdrive/hyperdrive certificate-data: APPLE_CERT_DATA @@ -89,12 +88,12 @@ jobs: options: --options runtime --entitlements entitlements.xml result: hyperdrive-macos-arm64-${{ github.ref_name }} compressed: hyperdrive-macos-arm64-${{ github.ref_name }}.tar.gz - - os: ubuntu-20.04 + - os: ubuntu-22.04 key: hyperdrive-node16-linux-x64-${{ github.sha }} file: hyperdrive/hyperdrive result: hyperdrive-linux-x64-${{ github.ref_name }} compressed: hyperdrive-linux-x64-${{ github.ref_name }}.tar.gz - - os: ubuntu-20.04 + - os: ubuntu-22.04 key: hyperdrive-node16-linux-arm64-${{ github.sha }} file: hyperdrive/hyperdrive result: hyperdrive-linux-arm64-${{ github.ref_name }} @@ -102,7 +101,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Download ${{ matrix.key }} uses: actions/download-artifact@v3 with: @@ -133,7 +132,7 @@ jobs: chmod +x releases/* ls -lsa releases - name: Configure S3 Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v2 with: aws-access-key-id: ${{ secrets.S3_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.S3_SECRET_ACCESS_KEY }} @@ -157,9 +156,7 @@ jobs: fail_on_unmatched_files: true - name: Set macOS release SHA 256 id: shasum-mac-os - run: | - echo ::set-output name=sha::"$(shasum -a 256 releases/${{ matrix.compressed }} | awk '{printf $1}')" - + run: echo "sha="(shasum -a 256 releases/${{ matrix.compressed }} | awk '{printf $1}')" >> $GITHUB_OUTPUT homebrew-releaser: runs-on: ubuntu-latest