mirror of
https://github.com/Kron4ek/Conty
synced 2024-12-27 09:58:25 +01:00
40 lines
877 B
YAML
40 lines
877 B
YAML
name: Conty CI
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * 5'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
lfs: 'false'
|
|
|
|
- name: Download artifact
|
|
id: download-artifact
|
|
uses: dawidd6/action-download-artifact@v6
|
|
with:
|
|
workflow: utils.yml
|
|
workflow_conclusion: success
|
|
if_no_artifact_found: ignore
|
|
path: /opt
|
|
|
|
- name: Build Conty
|
|
run: |
|
|
if [ -f /opt/Utils/utils.tar.gz ]; then
|
|
cp /opt/Utils/* .
|
|
fi
|
|
|
|
chmod +x create-arch-bootstrap.sh create-conty.sh
|
|
sudo ./create-arch-bootstrap.sh && ./create-conty.sh
|
|
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: Conty
|
|
path: conty.sh
|