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 37fa323 commit d005bc1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,19 @@ jobs:

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

- name: Resolve Electron version for test
id: electron-test-version
shell: bash
run: |
if [ '${{ inputs.build-version }}' == '29.0.0' ]; then
echo "Electron: 29.4.6"
echo "test-version=29.4.6" >> $GITHUB_OUTPUT
elif [ '${{ inputs.build-version }}' == '30.0.0' ]; then
echo "Electron: 30.5.1"
echo "test-version=30.5.1" >> $GITHUB_OUTPUT
elif [ '${{ inputs.build-version }}' == '31.0.0' ]; then
echo "Electron: 31.6.0"
echo "test-version=31.6.0" >> $GITHUB_OUTPUT
else
core.setFailed("Unable to resolve Electron version for testing")
Expand Down

0 comments on commit d005bc1

Please sign in to comment.