Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switched set-output and save-state to new GITHUB_OUTPUT and GITHUB_ST… #79

Merged
merged 1 commit into from
Apr 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/dev-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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 }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/pr-deploy-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
package:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
TERM: xterm
strategy:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr-leia-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
23 changes: 10 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -89,20 +88,20 @@ 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 }}
compressed: hyperdrive-linux-arm64-${{ github.ref_name }}.tar.gz

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Download ${{ matrix.key }}
uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -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 }}
Expand All @@ -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
Expand Down
Loading