From 03b0fcdd31fc866c41cf1035fac4e8df7bd7db58 Mon Sep 17 00:00:00 2001 From: simonsan <14062932+simonsan@users.noreply.github.com> Date: Thu, 14 Sep 2023 16:50:43 +0200 Subject: [PATCH] ci: fix github refs Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com> --- .github/workflows/release-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-ci.yml b/.github/workflows/release-ci.yml index 2b39cbe..4fec8d2 100644 --- a/.github/workflows/release-ci.yml +++ b/.github/workflows/release-ci.yml @@ -26,11 +26,11 @@ jobs: - name: Determine package id: determine-package-name run: | - if [[ ${{ github.ref }} == 'refs/release/rustic_core-*' ]]; then + if [[ ${{ github.ref }} == 'refs/heads/release/rustic_core-*' ]]; then echo "package=rustic_core" >> $GITHUB_OUTPUT - elif [[ ${{ github.ref }} == 'refs/release/rustic_testing-*' ]]; then + elif [[ ${{ github.ref }} == 'refs/heads/release/rustic_testing-*' ]]; then echo "package=rustic_testing" >> $GITHUB_OUTPUT - elif [[ ${{ github.ref }} == 'refs/release/rustic-*' ]]; then + elif [[ ${{ github.ref }} == 'refs/heads/release/rustic-*' ]]; then echo "package=rustic-rs" >> $GITHUB_OUTPUT fi