Skip to content

Commit ee196bf

Browse files
authored
Merge pull request arduino#121 from bcmi-labs/fix-build-badge
Fixed the build-badge in the README.
2 parents 66d29d6 + 8e8a8ac commit ee196bf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: .github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
5656
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
5757
IS_NIGHTLY: ${{ github.event_name == 'schedule' }}
58-
IS_RELEASE: ${{ startsWith(github.ref, 'refs/tags/v') }}
58+
IS_RELEASE: ${{ startsWith(github.ref, 'refs/tags/') }}
5959
run: |
6060
yarn --cwd ./electron/packager/
6161
yarn --cwd ./electron/packager/ package
@@ -88,7 +88,7 @@ jobs:
8888

8989
release:
9090
needs: build
91-
if: startsWith(github.ref, 'refs/tags/v')
91+
if: startsWith(github.ref, 'refs/tags/')
9292
runs-on: ubuntu-latest
9393
steps:
9494
- name: Download [GitHub Actions]

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Arduino Pro IDE
22

3-
![Arduino Pro IDE](https://github.com/bcmi-labs/arduino-editor/workflows/Arduino%20Pro%20IDE/badge.svg)
3+
[![Arduino Pro IDE](https://github.com/bcmi-labs/arduino-editor/workflows/Arduino%20Pro%20IDE/badge.svg)](https://github.com/bcmi-labs/arduino-editor/actions?query=workflow%3A%22Arduino+Pro+IDE%22)
44

55
### Download
66

@@ -49,7 +49,7 @@ macOS | | [Nightly macOS 64 bit] |
4949

5050
### Build from source
5151

52-
If you’re familiar with TypeScript, the [Theia IDE](https://theia-ide.org/), and of you want to contribute to the
52+
If you’re familiar with TypeScript, the [Theia IDE](https://theia-ide.org/), and if you want to contribute to the
5353
project, you should be able to build the Arduino Pro IDE locally. Please refer to the [Theia IDE prerequisites](https://github.com/theia-ide/theia/blob/master/doc/) documentation for the setup instructions.
5454

5555
### Build

0 commit comments

Comments
 (0)