Skip to content

Commit

Permalink
Test build nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 committed Jun 21, 2024
1 parent 594d8a9 commit 0c1d60f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build_nigthly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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: |
git config user.name github-actions
git config user.email [email protected]
git tag -a v${{ steps.get_version.outputs.VERSION }} -m "Release ${{ steps.get_version.outputs.VERSION }}"
#git push origin v${{ steps.get_version.outputs.VERSION }}

0 comments on commit 0c1d60f

Please sign in to comment.