diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0db1153..ed6fd92 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -7,12 +7,13 @@ jobs: BuildSimulation: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Check version run : | sudo apt-get update && sudo apt-get install jq - + echo $(cat version.json | jq -r '.version') release_version=${GITHUB_REF#*release-} + echo $release_version if [ "$(cat version.json | jq -r '.version')" != "$release_version" ] then echo -e "\n\nrelease version mismatches the version written in version.json. Please change version.json and commit your change.\n\n" @@ -26,7 +27,7 @@ jobs: runs-on: ubuntu-latest needs: BuildSimulation steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Deploy run: | - echo deploying into Test env \ No newline at end of file + echo deploying into Test env diff --git a/file b/file new file mode 100644 index 0000000..854e7b5 --- /dev/null +++ b/file @@ -0,0 +1,2 @@ +#!bash +ls diff --git a/jsjsjs b/jsjsjs new file mode 100644 index 0000000..6b9daa1 --- /dev/null +++ b/jsjsjs @@ -0,0 +1,2 @@ +da;ld;lasd; + diff --git a/text.txt b/text.txt new file mode 100644 index 0000000..1e8d5b3 --- /dev/null +++ b/text.txt @@ -0,0 +1,8 @@ +c1 +c2 +c10 +c11 +c6 +c3 +c7 +c9 diff --git a/version.json b/version.json index 089f401..05f988b 100644 --- a/version.json +++ b/version.json @@ -1,3 +1,4 @@ { - "version": "v1.2.3" -} \ No newline at end of file + + "version": "v.1.2" +}