4040 exit 1
4141 fi
4242
43- build -linux-x64 :
43+ publish -linux-x64 :
4444 needs : [version-check]
45- name : " Build Linux x64 🏗️ "
45+ name : " Publish Linux ( x64) 🐙 "
4646 runs-on : ubuntu-22.04
4747 steps :
4848 - name : " Checkout 🥡"
@@ -78,26 +78,19 @@ jobs:
7878 run : flutter_distributor package --platform=linux --targets=zip
7979 - name : Show artifacts 👀
8080 run : tree dist/
81-
82- publish-release :
83- needs : [build-linux-x64]
84- name : " Publish Release 📤️"
85- runs-on : ubuntu-22.04
86- steps :
87- - uses : actions/checkout@v4
88- - name : Publish release ${{ github.ref }}
89- env :
90- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
91- run : |
92- REL_VER=$(grep "^version" pubspec.yaml | cut -d' ' -f2)
93- gh release create "${{ github.ref }}" --draft --generate-notes
94- for PKG in AppImage deb rpm zip; do
95- gh release upload "${{ github.ref }}" "dist/${REL_VER}/quickgui-${REL_VER}-linux.${PKG}" --clobber
96- done
97- if [ "$(gh release view "${{ github.ref }}" --json assets --template '{{len .assets}}')" -lt 0 ]; then
98- exit 1
99- fi
100- gh release edit "${{ github.ref }}" --draft=false
81+ - name : " Publish Release 📤️"
82+ env :
83+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
84+ run : |
85+ REL_VER=$(grep "^version" pubspec.yaml | cut -d' ' -f2)
86+ gh release create "${{ github.ref }}" --draft --generate-notes
87+ for PKG in AppImage deb rpm zip; do
88+ gh release upload "${{ github.ref }}" "dist/${REL_VER}/quickgui-${REL_VER}-linux.${PKG}" --clobber
89+ done
90+ if [ "$(gh release view "${{ github.ref }}" --json assets --template '{{len .assets}}')" -lt 0 ]; then
91+ exit 1
92+ fi
93+ gh release edit "${{ github.ref }}" --draft=false
10194
10295 publish-flakehub :
10396 needs : [version-check]
@@ -120,6 +113,7 @@ jobs:
120113
121114 publish-ppa-x64 :
122115 needs : [version-check]
116+ name : " Publish PPA (x64) 🟠"
123117 runs-on : ubuntu-22.04
124118 steps :
125119 - name : " Checkout 🥡"
0 commit comments