41 lines
1 KiB
YAML
41 lines
1 KiB
YAML
on:
|
|
workflow_dispatch:
|
|
push:
|
|
schedule:
|
|
- cron: "0 6 1 * *"
|
|
|
|
jobs:
|
|
update:
|
|
container: git.incest.world/ashley/jami-appimage:latest
|
|
steps:
|
|
- name: Checkout client
|
|
uses: actions/checkout@v3
|
|
with:
|
|
repository: ashley/jami-client-qt
|
|
submodules: recursive
|
|
path: jami
|
|
ref: master
|
|
|
|
- name: Checkout extras
|
|
uses: actions/checkout@v3
|
|
with:
|
|
path: extras
|
|
|
|
- name: Apply modifications and build
|
|
run: |
|
|
cp extras/appimage.cmake jami/
|
|
cat extras/CMakeLists.txt >> jami/CMakeLists.txt
|
|
cd jami
|
|
python build.py --init
|
|
python build.py --install
|
|
|
|
- name: Get current date
|
|
id: date
|
|
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
|
|
|
|
- uses: actions/forgejo-release@v1
|
|
with:
|
|
token: ${{ github.token }}
|
|
direction: upload
|
|
release-dir: jami/dist
|
|
tag: ${{ steps.date.outputs.date }}
|