We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c054589 + 8feb0cc commit ae47bf4Copy full SHA for ae47bf4
.github/workflows/build.yaml
@@ -1,7 +1,7 @@
1
name: Build firmware
2
3
on:
4
- create:
+ push:
5
tags:
6
- '[0-9]+\.[0-9]+\.[0-9]+*'
7
pull_request:
@@ -13,7 +13,7 @@ jobs:
13
14
steps:
15
- name: Check out this repository
16
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
17
18
- name: Build Docker image
19
run: docker compose build --pull --build-arg APT_MIRROR="http://azure.archive.ubuntu.com/ubuntu/"
@@ -28,7 +28,7 @@ jobs:
28
path: build/prawnblaster/*.uf2
29
30
- name: Create release
31
- if: ${{ github.event.ref_type == 'tag' }}
+ if: (github.event_name == 'push' && contains(github.ref, '/tags'))
32
uses: "marvinpinto/action-automatic-releases@latest"
33
with:
34
repo_token: "${{ secrets.GITHUB_TOKEN }}"
0 commit comments