diff options
author | Marvin Borner | 2019-11-01 00:49:20 +0100 |
---|---|---|
committer | GitHub | 2019-11-01 00:49:20 +0100 |
commit | 1c4ca81b6e9fc271dfab78e0888248e58ec42ca8 (patch) | |
tree | 1ec4f481f4f82d42f30ef2280c5627ba90757412 /.github | |
parent | be023cf57d763ff5b17dbb2a3afec156ca54a65d (diff) |
Added worflow for automatic releasing
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ccpp.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml new file mode 100644 index 0000000..faf06c9 --- /dev/null +++ b/.github/workflows/ccpp.yml @@ -0,0 +1,26 @@ +name: Project build and nightly release + +on: + schedule: + - cron: "0 2 * * 0" + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Install + run: sudo apt-get update && sudo apt-get install -y build-essential bison flex libgmp3-dev libmpc-dev libmpfr-dev texinfo libcloog-isl-dev libisl-dev curl nasm grub qemu qemu-kvm + - name: Make + run: make cross build + - name: Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: build/melvix.iso + name: Melvix Nightly Release + prerelease: 1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |