Skip to content

Use maintained release action #6

Use maintained release action

Use maintained release action #6

Workflow file for this run

# Copyright 2023 Pluto TV
# Copyright 2022 Google LLC
#
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file or at
# https://developers.google.com/open-source/licenses/bsd
name: GitHub Nightly Build
on:
push:
branches: [ feature/TRANS-4831-nighty-builds ]
workflow_dispatch:
env:
DEVELOPMENT_BRANCH: "pluto-cmake"
jobs:
draft_release:

Check failure on line 19 in .github/workflows/github-nightly.yaml

View workflow run for this annotation

GitHub Actions / GitHub Nightly Build

Invalid workflow file

The workflow is not valid. .github/workflows/github-nightly.yaml (Line: 19, Col: 3): The workflow must contain at least one job with no dependencies.
name: Create GitHub Nightly draft release
needs: setup
runs-on: ubuntu-latest
outputs:
release_id: ${{ steps.draft_release.outputs.id }}
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: $DEVELOPMENT_BRANCH
- name: Draft release
id: draft_release
uses: ncipollo/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.BUILD_TOKEN_EPHEMERAL}}
with:
tag: ${{ needs.setup.outputs.tag }}
name: "Nightly Build"
draft: true
body: "Latest build of the development branch"
lint:
needs: setup
name: Lint
uses: ./.github/workflows/lint.yaml
with:
ref: $DEVELOPMENT_BRANCH
build_and_test:
needs: [setup, lint, draft_release]
name: Build and test
uses: ./.github/workflows/build.yaml
with:
ref: $DEVELOPMENT_BRANCH