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

Scx1332/fixmigrations #183

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from
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
Loading