This repository has been archived by the owner on Oct 24, 2023. It is now read-only.
Nightly #1122
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nightly | |
on: | |
schedule: | |
- cron: '0 0 * * *' # Every day at midnight | |
workflow_dispatch: | |
jobs: | |
build: | |
if: github.repository == 'Azure/aks-engine' | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Make releases | |
run: | | |
docker run --rm \ | |
-v ${GITHUB_WORKSPACE}:/go/src/github.com/Azure/aks-engine \ | |
-w /go/src/github.com/Azure/aks-engine \ | |
mcr.microsoft.com/oss/azcu/go-dev:v1.36.1 make dist | |
- name: Rename outputs | |
run: | | |
mkdir ./outputs | |
cp _dist/aks-engine-*-linux-amd64.tar.gz outputs/aks-engine-nightly-linux-amd64.tar.gz | |
- name: Update nightly release | |
uses: eine/tip@master | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
tag: nightly | |
files: | | |
outputs/* |