ci: fix github refs

Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
This commit is contained in:
simonsan 2023-09-14 16:50:43 +02:00
parent f9efaa7b49
commit 03b0fcdd31
No known key found for this signature in database
GPG Key ID: E11D13668EC3B71B

View File

@ -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