Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checkout code before calling action #3962

Merged
merged 1 commit into from Mar 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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