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 b151e3b commit e49c6f6
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,20 @@ jobs:
id: electron-test-version
shell: bash
run: |
if [[ '${{ inputs.build-version }}' == '29.0.0' ]]; then
echo "test-version=29.4.6" >> $GITHUB_OUTPUT
elif [[ '${{ inputs.build-version }}' == '30.0.0' ]]; then
echo "test-version=30.5.1" >> $GITHUB_OUTPUT
elif [[ '${{ inputs.build-version }}' == '31.0.0' ]]; then
echo "test-version=31.6.0" >> $GITHUB_OUTPUT
else
core.setFailed("Unable to resolve Electron version for testing")
fi
if [[ ${{ inputs.build-version }} == '29.0.0' ]]; then
echo "test-version=29.4.6" >> $GITHUB_OUTPUT
elif [[ ${{ inputs.build-version }} == '30.0.0' ]]; then
echo "test-version=30.5.1" >> $GITHUB_OUTPUT
elif [[ ${{ inputs.build-version }} == '31.0.0' ]]; then
echo "test-version=31.6.0" >> $GITHUB_OUTPUT
fi
# else
# core.setFailed("Unable to resolve Electron version for testing")
# fi
- name: Test resolved electron version
run: |
echo "the secret number is ${{ steps.electron-test-version.outputs.test-version }}"
echo "electron version is ${{ steps.electron-test-version.outputs.test-version }}"
exit 1
- name: Setup env
Expand Down

0 comments on commit e49c6f6

Please sign in to comment.