diff --git a/.github/workflows/build-latest.yml b/.github/workflows/build-latest.yml new file mode 100644 index 0000000..5546c4b --- /dev/null +++ b/.github/workflows/build-latest.yml @@ -0,0 +1,16 @@ +name: Build the latest release using Spack + +on: + workflow_dispatch: {} + schedule: + - cron: "0 0 * * *" + +jobs: + build: + runs-on: ubuntu-22.04 + name: Build the latest version of the package + steps: + - uses: actions/checkout@v4 + - uses: mochi-hpc/mochi-test-build-action@v1 + with: + build-cache-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/build-main.yml b/.github/workflows/build-main.yml new file mode 100644 index 0000000..ba346ce --- /dev/null +++ b/.github/workflows/build-main.yml @@ -0,0 +1,17 @@ +name: Build the main version using Spack + +on: + workflow_dispatch: {} + schedule: + - cron: "0 0 * * *" + +jobs: + build: + runs-on: ubuntu-22.04 + name: Build the main version of the package + steps: + - uses: actions/checkout@v4 + - uses: mochi-hpc/mochi-test-build-action@v1 + with: + package-version: "@main" + build-cache-token: ${{ secrets.GITHUB_TOKEN }}