Skip to content

Commit

Permalink
Merge pull request #3962 from ripienaar/nightly_rc_docker.1
Browse files Browse the repository at this point in the history
checkout code before calling action
  • Loading branch information
ripienaar committed Mar 14, 2023
2 parents 82e32d9 + a8f33d5 commit dd9851f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
10 changes: 0 additions & 10 deletions .github/actions/nightly-release/action.yaml
Expand Up @@ -6,23 +6,13 @@ inputs:
description: The version of go to build with
required: true

branch:
description: The branch to build
required: true

label:
description: The label to use for built images
required: true

runs:
using: composite
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
path: src/github.com/nats-io/nats-server
ref: ${{ inputs.branch }}

- name: Set up Go
uses: actions/setup-go@v3
with:
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/rc_nightly.yaml
@@ -1,4 +1,4 @@
name: NATS Server Nightly RC
name: NATS Server Nightly MAIN
on:
workflow_dispatch: {}

Expand All @@ -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

0 comments on commit dd9851f

Please sign in to comment.