34 lines
710 B
YAML
34 lines
710 B
YAML
on:
|
|
workflow_dispatch:
|
|
push:
|
|
schedule:
|
|
- cron: "0 6 * * *"
|
|
|
|
jobs:
|
|
update:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
path: extras
|
|
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
repository: ashley/jami-client-qt
|
|
path: jami
|
|
|
|
- name: Make archives
|
|
run: |
|
|
|
|
|
|
- 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: dist
|
|
override: true
|
|
tag: nightly-${{ steps.date.outputs.date }}
|