Skip to content

Commit 152f179

Browse files
committed
test ci with tags filter
1 parent f70e6e4 commit 152f179

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/flatpak.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
on:
22
push:
3-
branches: [ ci ]
3+
branches: [ main ]
4+
tags: [ v*.*.* ]
45
pull_request:
56
workflow_dispatch:
67

78
concurrency:
89
group: flatpak
910
cancel-in-progress: true
1011

12+
13+
permissions:
14+
contents: write
15+
1116
jobs:
1217
build-and-dist:
1318
runs-on: ubuntu-latest
@@ -53,7 +58,6 @@ jobs:
5358

5459
- name: Create or update GitHub Release
5560
uses: softprops/action-gh-release@v2
56-
if: github.ref_type == 'tag'
5761
with:
5862
tag_name: ${{ github.ref_name }} # defaults to this if omitted
5963
name: Release ${{ github.ref_name }} # defaults to tag name if omitted

0 commit comments

Comments
 (0)