Skip to content

Commit

Permalink
Merge pull request #104 from tgonzalezorlandoarm/tg/ci-workflow-dispatch
Browse files Browse the repository at this point in the history
ci: Add workflow dispatch
  • Loading branch information
gowthamsk-arm authored Oct 5, 2023
2 parents fbbe42a + 1354de4 commit b4d867e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Continuous Integration

on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]

jobs:
build:
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,20 @@ on:
schedule:
# Every night at midnight
- cron: '0 0 * * *'

workflow_dispatch:
inputs:
rev:
description: "Revision hash to run against"
required: false
default: ""
jobs:
dependencies:
name: Check for unused dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: "${{ github.event.inputs.rev }}"
- name: Install latest Rust
uses: actions-rs/toolchain@v1
with:
Expand All @@ -25,6 +32,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: "${{ github.event.inputs.rev }}"
- name: Install latest Rust
uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit b4d867e

Please sign in to comment.