Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test #19

Open
wants to merge 28 commits into
base: test
Choose a base branch
from
Open

Test #19

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
echo deploying into Test env
2 changes: 2 additions & 0 deletions file
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!bash
ls
2 changes: 2 additions & 0 deletions jsjsjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
da;ld;lasd;

8 changes: 8 additions & 0 deletions text.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
c1
c2
c10
c11
c6
c3
c7
c9
5 changes: 3 additions & 2 deletions version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"version": "v1.2.3"
}

"version": "v.1.2"
}