Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Deploy Nightly

Deploy Nightly #477

Workflow file for this run

name: Deploy Nightly
on:
schedule:
- cron: '0 2 * * *' # run at 2 AM UTC
jobs:
native-build-cli:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-20.04, macos-latest]
steps:
- uses: actions/checkout@v4.1.5
- uses: actions/setup-go@v5
with:
go-version: 1.22 # The Go version to download (if necessary) and use.
- name: Build CLI
shell: bash
run: |
make build
cp "build/jprovd" "jprovd-$RUNNER_OS"
- uses: actions/upload-artifact@v4
with:
name: jprovd-${{runner.os}}
path: jprovd-${{runner.os}}
Release:
needs:
[native-build-cli]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4.1.5
- uses: actions/download-artifact@v4
with:
name: jprovd-Linux
- uses: actions/download-artifact@v4
with:
name: jprovd-macOS
- name: Release
uses: softprops/action-gh-release@v2
with:
prerelease: true
name: nightly
files: |
jprovd-macOS
jprovd-Linux