mirror of
https://github.com/Kron4ek/Conty
synced 2024-11-16 19:50:06 +01:00
91aa7b01b4
By default it creates a draft release.
43 lines
1,004 B
YAML
43 lines
1,004 B
YAML
name: Conty CI
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * 5'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Build Conty
|
|
run: |
|
|
chmod +x create-arch-bootstrap.sh create-conty.sh
|
|
sed -i 's/sed/#sed/g' create-arch-bootstrap.sh
|
|
sudo ./create-arch-bootstrap.sh && ./create-conty.sh
|
|
|
|
- uses: dev-drprasad/delete-tag-and-release@v1.0
|
|
with:
|
|
tag_name: continuous
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
delete_release: true
|
|
|
|
- uses: rickstaa/action-create-tag@v1
|
|
id: "tag_create"
|
|
with:
|
|
tag: "continuous"
|
|
|
|
- uses: softprops/action-gh-release@v1
|
|
with:
|
|
files: conty.sh
|
|
prerelease: true
|
|
draft: true
|
|
tag_name: continuous
|
|
name: Continuous build
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: Conty
|
|
path: conty.sh
|