Skip to content

Bump the github-workflows group across 1 directory with 4 updates #20

Bump the github-workflows group across 1 directory with 4 updates

Bump the github-workflows group across 1 directory with 4 updates #20

name: Releaser nightly build
on:
pull_request:
paths:
- .github/workflows/_releaser_nightly_build.yml
workflow_call:
outputs:
commit_sha:
description: |
The commit sha of the nightly release branch/tag.
value: ${{ jobs.nightly-build.outputs.commit_sha }}
version_full:
description: |
The full version of the nightly release that was created.
value: ${{ jobs.nightly-build.outputs.version_full }}
jobs:
nightly-build:
name: 🌙 Nightly build
runs-on: ubuntu-22.04
outputs:
commit_sha: ${{ steps.commit.outputs.id }}
version_full: ${{ steps.version.outputs.full }}
permissions:
contents: write
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # pin v4.1.5
timeout-minutes: 5
- name: Configure git
run: |
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
git config user.name 'github-actions[bot]'
timeout-minutes: 1
- name: Create nightly release
run: python misc/releaser.py build --nightly --yes --no-gpg-sign
timeout-minutes: 2
- name: Get commit for nightly tag
id: commit
run: echo "id=$(git rev-parse nightly)" | tee -a $GITHUB_OUTPUT
timeout-minutes: 1
- name: Parse version
id: version
run: python misc/releaser.py version | tee -a $GITHUB_OUTPUT
timeout-minutes: 1