File tree 1 file changed +30
-0
lines changed 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build LaTeX and deploy on GitHub Releases
2
+ on :
3
+ push :
4
+
5
+ jobs :
6
+ Deploy-Archives :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - name : Checkout
10
+ uses : actions/checkout@v2
11
+ with :
12
+ fetch-depth : 0
13
+ submodules : true
14
+ - name : Fetch tags
15
+ shell : bash
16
+ run : git fetch --tags -f
17
+ - name : Autotag
18
+ uses : DanySK/semver-autotag-action@master
19
+ - name : Remove PMD/Checkstyle/Spotbugs configuration from the first labs
20
+ run : ./cleanup_project_files.rb
21
+ - name : Create archives
22
+ run : for file in workspace/*/; do name="${file#*/}"; zip -r "${name%*/}.zip" "$file"; done
23
+ - name : Release
24
+ run : |
25
+ TAG=$(git describe --tags --exact-match HEAD)
26
+ hub release create -m "$(git tag -l --format='%(contents)' "$TAG")" "$TAG" || true
27
+ for file in $(find . -name \*.zip); do
28
+ echo "Delivering file $file"
29
+ gh release upload "$TAG" "$pdf" --clobber
30
+ done
You can’t perform that action at this time.
0 commit comments