diff --git a/.github/workflows/daily_build.yml b/.github/workflows/nightly_build.yml similarity index 71% rename from .github/workflows/daily_build.yml rename to .github/workflows/nightly_build.yml index e8a0af8dee..75ccf6246c 100644 --- a/.github/workflows/daily_build.yml +++ b/.github/workflows/nightly_build.yml @@ -1,27 +1,26 @@ -name: Daily builds +name: Nightly builds on: schedule: - - cron: '45 13 * * *' + - cron: '14 8 * * *' jobs: matrix_prep: runs-on: ubuntu-latest outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - # creates the matrix strategy from daily_build_matrix_includes.json + # creates the matrix strategy from nightly_build_matrix_includes.json - uses: actions/checkout@v2 - id: set-matrix uses: JoshuaTheMiller/conditional-build-matrix@main with: - inputFile: '.github/workflows/daily_build_matrix_includes.json' + inputFile: '.github/workflows/nightly_build_matrix_includes.json' filter: '[?runOnEvent==`${{ github.event_name }}` || runOnEvent==`always`]' build: needs: matrix_prep strategy: matrix: ${{fromJson(needs.matrix_prep.outputs.matrix)}} runs-on: ${{ matrix.os }} - continue-on-error: ${{ matrix.rust == 'nightly' || matrix.rust == 'beta' || matrix.os == 'windows-latest' }} steps: - name: Install Dependencies (Linux) run: sudo apt-get update && sudo apt-get install libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev squashfs-tools @@ -58,7 +57,6 @@ jobs: - uses: actions-rs/clippy-check@v1 name: Clippy checks -# if: matrix.os == 'ubuntu-latest' && matrix.rust == 'stable' with: token: ${{ secrets.GITHUB_TOKEN }} args: --all-features @@ -95,3 +93,19 @@ jobs: with: command: clippy args: --features=coconut -- -D warnings + - name: Keybase - Node Install + #if: ${{ job.status != 'success' }} + run: npm install + working-directory: .github/workflows/support-files/messages + - name: Keybase - Send Notification + #if: ${{ job.status != 'success' }} + env: + NYM_PROJECT_NAME: "Nym nightly build" + KEYBASE_NYMBOT_USERNAME: "${{ secrets.KEYBASE_NYMBOT_USERNAME }}" + KEYBASE_NYMBOT_PAPERKEY: "${{ secrets.KEYBASE_NYMBOT_PAPERKEY }}" + KEYBASE_NYMBOT_TEAM: "${{ secrets.KEYBASE_NYMBOT_TEAM }}" + KEYBASE_NYM_CHANNEL: "ci-nightly" + IS_SUCCESS: "${{ job.status == 'success' }}" + uses: docker://keybaseio/client:stable-node + with: + args: .github/workflows/support-files/messages/entry_point_notifications.sh diff --git a/.github/workflows/daily_build_matrix_includes.json b/.github/workflows/nightly_build_matrix_includes.json similarity index 100% rename from .github/workflows/daily_build_matrix_includes.json rename to .github/workflows/nightly_build_matrix_includes.json