-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (40 loc) · 1.47 KB
/
blank.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: CI
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
compile:
name: Update source packages
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Run the build process with Docker
uses: addnab/docker-run-action@v3
with:
image: registry.gitlab.com/turkman/devel/assets/docker-images
options: -v ${{ github.workspace }}:/root -v /output:/root/output
run: |
set -e
cd /root
ymp repo --update --ignore-gpg
ymp it bash --no-emerge
find -type f | grep ympbuild | sort -V | while read line ; do
cd $(dirname $line)
echo $PWD
ymp build --no-binary --ignore-dependency --no-processbar .
mv *.ymp /root/output
cd /root
done
ymp repo --index output --name=main
rm -f /output/ymp-index.yaml.asc
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "current"
prerelease: false
title: "Latest release"
files: |
/output/*.yaml
/output/*.ymp