File tree Expand file tree Collapse file tree 3 files changed +71
-30
lines changed Expand file tree Collapse file tree 3 files changed +71
-30
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Create RGL release
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ tag :
7+ description : Release tag (should be YYYYMMDD format)
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-18.04
12+ env :
13+ GF_VERSION : 3.10-1
14+ DEST : gf-rgl-${{ github.event.inputs.tag }}
15+
16+ steps :
17+ - name : Checkout repository
18+ uses : actions/checkout@v2
19+
20+ - name : Install GF
21+ run : |
22+ curl -s https://www.grammaticalframework.org/download/gf_${GF_VERSION}_amd64.deb -o gf.deb
23+ sudo dpkg -i gf.deb
24+
25+ - name : Build RGL
26+ run : |
27+ mkdir -p ${DEST}
28+ bash Setup.sh --dest=${DEST} --gf=gf --verbose
29+
30+ - name : Create archive
31+ run : |
32+ zip asset.zip -r ${{ env.DEST }}
33+
34+ # - name: Upload artifact
35+ # uses: actions/upload-artifact@v2
36+ # with:
37+ # name: gf-rgl-${{ github.sha }}
38+ # path: ${{ env.DEST }}
39+ # if-no-files-found: error
40+
41+ - name : Create release
42+ id : create_release
43+ uses : actions/create-release@v1
44+ env :
45+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46+ with :
47+ tag_name : ${{ github.event.inputs.tag }}
48+ release_name : Release ${{ github.event.inputs.tag }}
49+ draft : false
50+ prerelease : false
51+
52+ - name : Upload release asset
53+ id : upload-release-asset
54+ uses : actions/upload-release-asset@v1
55+ env :
56+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
57+ with :
58+ upload_url : ${{ steps.create_release.outputs.upload_url }}
59+ asset_path : asset.zip
60+ asset_name : gf-rgl-${{ github.event.inputs.tag }}.zip
61+ asset_content_type : application/zip
Original file line number Diff line number Diff line change 1+ # RGL releases
2+
3+ The RGL does not use semantic versioning.
4+ Releases are instead made periodically, as snapshots of the current state of the library.
5+ Releases are Git tagged ` YYYYMMDD ` , and for each release a binary package (as ` .gfo ` files) is made available as a GitHub release.
6+
7+ ## Creating a new release
8+
9+ 1 . Run the "Create release" workflow through the GitHub actions interface
10+ (instructions [ here] ( https://docs.github.com/en/free-pro-team@latest/actions/managing-workflow-runs/manually-running-a-workflow ) ).
You can’t perform that action at this time.
0 commit comments