Skip to content

Commit

Permalink
updating release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpastor97 committed Jun 1, 2022
1 parent 15f6e22 commit 9e56c7a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
name: Build distribution

on: [push, pull_request]
on:
# GitHub has started calling new repo's first branch "main" https://github.com/github/renaming
# Existing codes likely still have "master" as the primary branch
# Both are tracked here to keep legacy and new codes working
push:
branches:
- "main"
pull_request:
branches:
- "main"
schedule:
# Nightly tests run on master by default:
# Scheduled workflows run on the latest commit on the default or base branch.
# (from https://help.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events-schedule)
- cron: "0 0 * * 1" ## running every Monday at midnight

jobs:
test:
Expand Down

0 comments on commit 9e56c7a

Please sign in to comment.