Use maintained release action #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 GitHub Actions / GitHub Nightly BuildInvalid workflow file
|
||
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 |