jami-appimage/.forgejo/workflows/build.yml
Ashley Graves b6661b9c0d
Some checks failed
/ update (push) Failing after 1m6s
_
2024-10-06 00:07:44 +02:00

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 }}