This repository was archived by the owner on Feb 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +36
-2
lines changed Expand file tree Collapse file tree 3 files changed +36
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Set version
2
+
3
+ on :
4
+ # Triggers the workflow on push to master branch
5
+ push :
6
+ branches : [ master ]
7
+
8
+ jobs :
9
+ autotag_version :
10
+ name : Auto tag version
11
+ runs-on : [ubuntu-latest]
12
+ env :
13
+ VERSION_FILE_NAME : version.txt
14
+ steps :
15
+ - name : Checkout
16
+ uses : actions/checkout@v3
17
+
18
+ - name : Check if version was changed
19
+ uses : technote-space/get-diff-action@v6
20
+ with :
21
+ FILES : ${{ env.VERSION_FILE_NAME }}
22
+
23
+ - name : Tag new version
24
+ if : ${{ env.MATCHED_FILES }}
25
+ run : |
26
+ version=$(cat ${{ env.VERSION_FILE_NAME }})
27
+ git tag v$version
28
+
29
+ - name : Push tags
30
+ if : ${{ env.MATCHED_FILES }}
31
+ uses : ad-m/github-push-action@master
32
+ with :
33
+ tags : true
Original file line number Diff line number Diff line change 1
1
# Circuit Definition Library (Blueprint) for =nil; Foundation's Cryptography Suite
2
2
3
- [ ![ Run tests] ( https://github.com/NilFoundation/crypto3-blueprint/actions/workflows/run_tests.yml/badge.svg )] ( https://github.com/NilFoundation/crypto3-blueprint/actions/workflows/run_tests.yml )
4
-
5
3
Circuit definition library for =nil; Foundation's cryptography suite.
6
4
5
+ [ ![ Run tests] ( https://github.com/NilFoundation/crypto3-blueprint/actions/workflows/run_tests.yml/badge.svg )] ( https://github.com/NilFoundation/crypto3-blueprint/actions/workflows/run_tests.yml )
6
+
7
7
## Building
8
8
9
9
This library uses Boost CMake build modules (https://github.com/BoostCMake/cmake_modules.git ).
Original file line number Diff line number Diff line change
1
+ 0.0.1
You can’t perform that action at this time.
0 commit comments