Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/build_nigthly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build nightly

on:
workflow_dispatch:
inputs:
build_profile:
description: 'Build profile'
required: true
default: 'release-fast'

permissions:
contents: write

jobs:
tag-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Get version from Cargo.toml
id: get_version
run: |
VERSION=$(grep '^version =' Cargo.toml | cut -d '"' -f2)
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT

- name: Create and push tag
run: |
echo "Created tag: v${{ steps.get_version.outputs.VERSION }}"
git config user.name github-actions
git config user.email [email protected]
git tag -a v${{ steps.get_version.outputs.VERSION }}-nightly -m "Nightly release ${{ steps.get_version.outputs.VERSION }}"
git push origin v${{ steps.get_version.outputs.VERSION }}-nightly