This commit is contained in:
2025-05-24 14:27:59 +02:00
parent fd666dd3fa
commit ef41d0fa11
2 changed files with 2 additions and 23 deletions

View File

@@ -15,18 +15,6 @@ jobs:
#if: gitea.ref == 'refs/heads/main'
steps:
- uses: https://github.com/actions/checkout@v4
- name: Set env
run: |
echo "Test"
echo "${{gitea.ref_name}}"
echo ${{gitea.ref_name}}
${{gitea.ref_name}}
echo "${{gitea.ref_name#release/}}"
echo ${{gitea.ref_name#release/}}
- name: Test
run: |
echo $RELEASE_VERSION
echo ${{ env.RELEASE_VERSION }}
#GITHUB_REF_NAME

View File

@@ -4,10 +4,7 @@ run-name: ${{ gitea.actor }} is runs ci pipeline
#on:
# release:
# types: [published]
on:
push:
branches:
- release/*
on: [push]
jobs:
# test:
@@ -24,15 +21,9 @@ jobs:
publish:
runs-on: ubuntu-latest
needs: build
#if: gitea.ref == 'refs/heads/main'
if: gitea.ref != 'refs/heads/main'
steps:
- uses: https://github.com/actions/checkout@v4
- name: Set env
run: echo "RELEASE_VERSION=${gitea.ref_name#release/}" >> gitea.env
- name: Test
run: |
echo $RELEASE_VERSION
echo ${{ env.RELEASE_VERSION }}
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v3
with: