checkout code before calling action

This ensures that the action can be found.

Signed-off-by: R.I.Pienaar <rip@devco.net>
This commit is contained in:
R.I.Pienaar
2023-03-14 19:47:20 +01:00
parent 82e32d9c5e
commit a8f33d594c
2 changed files with 8 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
name: NATS Server Nightly RC
name: NATS Server Nightly MAIN
on:
workflow_dispatch: {}
@@ -7,11 +7,16 @@ on:
jobs:
rc_release:
nightly_main_release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
path: src/github.com/nats-io/nats-server
ref: main
- uses: ./.github/actions/nightly-release
with:
go: "1.19"
branch: main
label: nightly-main