more bugs fixed
Some checks are pending
CI / linter (9.0.X, ubuntu-latest) (push) Waiting to run
CI / tests_linux (9.0.X, ubuntu-latest) (push) Blocked by required conditions
Rename the project from template / rename-project (push) Waiting to run
SonarQube Scan / SonarQube Trigger (push) Waiting to run

This commit is contained in:
Simon Diesenreiter 2024-11-27 21:42:14 +01:00
parent 912dd09aac
commit 47037de32e

View File

@ -35,18 +35,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
- name: Set up dotnet
uses: actions/setup-dotnet@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
dotnet-version: '9.0.X'
- name: Check version match
run: |
REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_'')
if [ "$(cat $REPOSITORY_NAME/VERSION)" = "${GITHUB_REF_NAME:1}" ] ; then
if [ "$(cat project_name/VERSION)" = "${GITHUB_REF_NAME:1}" ] ; then
echo "Version matches successfully!"
else
echo "Version must match!"