Skip to content

Commit

Permalink
updating GitHub pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Sep 18, 2024
1 parent 043b0f1 commit bd8a2c4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,25 +47,27 @@ jobs:
# echo ${{ steps.myRequest.outputs.headers }}
# echo ${{ steps.myRequest.outputs.status }}
# echo ${{ fromJson(steps.myRequest.outputs.response).field_you_want_to_access }}

- name: Checkout code
uses: actions/checkout@v4

- name: Setup env
uses: ./.github/actions/setup-env
with:
electron: ${{ inputs.build-version }}
node: ${{ inputs.build-version }}
os: ${{ matrix.os }}

- name: Get latest Node.js version
id: node-version
run: |
node tools/getVersionAction.js
node tools/getVersionAction.js ${{ inputs.build-version }}
echo "version=$(cat node.txt)" >> $GITHUB_OUTPUT
- name: Print latest Node.js version
run: |
core.setFailed("${{steps.node-version.outputs.version}}")
- name: Resolve Electron version for test
id: electron-test-version
shell: bash
Expand Down

0 comments on commit bd8a2c4

Please sign in to comment.