File tree Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release Assist
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' v[0-9]*'
7
+
8
+ env :
9
+ LC_ALL : C
10
+
11
+ jobs :
12
+ build :
13
+ name : Upload Release Asset
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - name : Checkout code
17
+ uses : actions/checkout@v3
18
+ - name : Update Software
19
+ run : |
20
+ sudo apt-get update
21
+ sudo apt-get dist-upgrade
22
+ sudo apt-get install autoconf automake autopoint gettext libtool
23
+ - name : Build Step "autoreconf"
24
+ run : autoreconf -vis .
25
+ - name : Build Step "configure"
26
+ run : ./configure
27
+ - name : Build Step "make"
28
+ run : make
29
+ - name : Build Step "make check"
30
+ run : make check
31
+ - name : Build Step "make distcheck"
32
+ run : |
33
+ make distcheck
34
+ ls ndim-utils-*.tar.xz | while read tarball; do if test -f "$tarball"; then echo "RELEASE_TARBALL=$tarball" >> $GITHUB_ENV; break; fi; done
35
+ - name : Create Release
36
+ id : create_release
37
+ if : false
38
+ uses : actions/create-release@v1
39
+ env :
40
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
+ with :
42
+ tag_name : ${{ github.ref }}
43
+ release_name : Release ${{ github.ref }}
44
+ draft : true
45
+ prerelease : false
46
+ - name : Upload Release Assets
47
+ id : upload-release-assets
48
+ if : false
49
+ uses : actions/upload-release-asset@v1
50
+ env :
51
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52
+ with :
53
+ upload_url : ${{ steps.create_release.outputs.upload_url }}
54
+ asset_path : ${{ env.RELEASE_TARBALL }}
55
+ asset_name : ${{ env.RELEASE_TARBALL }}
56
+ asset_content_type : application/x-xz
You can’t perform that action at this time.
0 commit comments