From 35f5870680a8184c25b708ecdd431a9e64c8a097 Mon Sep 17 00:00:00 2001 From: Omar Date: Mon, 27 Nov 2023 20:20:10 +0300 Subject: [PATCH] Release CI: WIP --- .github/workflows/release.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1c299528..4a2ad884 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,11 +9,17 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: ./.github/workflows/build.yml + - name: Prepare C# Version + run: | + echo "CS_VERSION=$(python3 -c 'print("${{ env.GITHUB_REF }}"[1:])')" >> $GITHUB_ENV + - name: Test + run: echo $CS_VERSION + - name: Build + uses: ./.github/workflows/build.yml with: INPUT_REF: ${{ env.GITHUB_REF }} INPUT_SWIFT-VERSION: ${{ env.GITHUB_REF }} INPUT_KOTLIN-VERSION: ${{ env.GITHUB_REF }} INPUT_PYTHON-VERSION: ${{ env.GITHUB_REF }} - INPUT_CS-VERSION: ${{ env.GITHUB_REF }} + INPUT_CS-VERSION: ${{ env.CS_VERSION }} \ No newline at end of file