Skip to content

Commit ab7ac0a

Browse files
committed
publihs the flatpak as release
1 parent 6cec4c2 commit ab7ac0a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/flatpak.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
on:
22
push:
33
branches: ["master"]
4+
tags: ["*"]
45
pull_request:
56
name: CI
67
jobs:
@@ -17,3 +18,22 @@ jobs:
1718
bundle: AnythingLLM.flatpak
1819
manifest-path: flatpak.yaml
1920
cache-key: flatpak-builder-${{ github.sha }}
21+
22+
release:
23+
permissions:
24+
contents: write
25+
26+
needs: flatpak
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/download-artifact@v4
30+
- name: Display structure of downloaded files
31+
run: ls -R
32+
- name: Create Release
33+
id: create_release
34+
uses: softprops/action-gh-release@v2
35+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
36+
with:
37+
draft: true
38+
files: |
39+
*/*

0 commit comments

Comments
 (0)