daily-build #1238
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: daily-build | |
on: | |
push: | |
schedule: | |
- cron: '0 17 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Log in to Docker Hub | |
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Setup .NET Core SDK | |
uses: actions/[email protected] | |
with: | |
dotnet-version: 6.0.x | |
- name: Install dependencies | |
run: | | |
dotnet tool restore | |
- name: Build | |
run: | | |
dotnet paket restore | |
dotnet run -- daily | |
env: | |
GH_USER: ${{ secrets.GH_USER }} | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} |