From 0c1d60f3906609956d329a7b70c98994db996be0 Mon Sep 17 00:00:00 2001 From: scx1332 Date: Fri, 21 Jun 2024 13:33:05 +0200 Subject: [PATCH] Test build nightly --- .github/workflows/build_nigthly.yml | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/build_nigthly.yml diff --git a/.github/workflows/build_nigthly.yml b/.github/workflows/build_nigthly.yml new file mode 100644 index 00000000..ca69a95e --- /dev/null +++ b/.github/workflows/build_nigthly.yml @@ -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 github-actions@github.com + 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 }}