2023-05-23 16:39:24 +02:00
|
|
|
name: Conty CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * 5'
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2024-08-03 11:59:48 +02:00
|
|
|
- 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
|
2023-05-23 16:39:24 +02:00
|
|
|
|
|
|
|
- name: Build Conty
|
|
|
|
run: |
|
2024-08-03 11:59:48 +02:00
|
|
|
if [ -f /opt/Utils/utils.tar.gz ]; then
|
|
|
|
cp /opt/Utils/* .
|
|
|
|
fi
|
|
|
|
|
2023-05-23 16:39:24 +02:00
|
|
|
chmod +x create-arch-bootstrap.sh create-conty.sh
|
|
|
|
sudo ./create-arch-bootstrap.sh && ./create-conty.sh
|
|
|
|
|
2023-07-07 09:04:07 +02:00
|
|
|
- name: Upload artifact
|
2024-08-03 12:09:24 +02:00
|
|
|
uses: actions/upload-artifact@v4
|
2023-05-23 16:39:24 +02:00
|
|
|
with:
|
|
|
|
name: Conty
|
|
|
|
path: conty.sh
|