Update develop-deb.yml

This commit is contained in:
Saša Davidović 2022-03-04 00:43:39 +01:00 committed by GitHub
parent 20789f8fed
commit a6bb7e148c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@ name: Debian package
on: on:
push: push:
branches: [ develop, release-3.5.0 ] branches: [ master, develop ]
# pull_request: # pull_request:
# branches: [ develop ] # branches: [ develop ]
@ -91,16 +91,16 @@ jobs:
chmod 775 DEBIAN/postinst chmod 775 DEBIAN/postinst
cd ../ cd ../
dpkg-deb -Zgzip --build package dpkg-deb -Zgzip --build package
mv /home/runner/package.deb /home/runner/edumeet-$VERSION-beta1.deb mv /home/runner/package.deb /home/runner/edumeet-$VERSION.deb
- name : Upload artifact - name : Upload artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: edumeet-${{ steps.get-version.outputs.VERSION }}-beta1 name: edumeet-${{ steps.get-version.outputs.VERSION }}
path: "/home/runner/edumeet-*.deb" path: "/home/runner/edumeet-*.deb"
- name: Add to release assets - name: Add to release assets
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
tag_name: "v3.5.0-beta.1" tag_name: ${{ steps.get-version.outputs.VERSION }}
files: "/home/runner/edumeet-*.deb" files: "/home/runner/edumeet-*.deb"