-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #399 from BuildingSync/develop
Release 2.4
- Loading branch information
Showing
53 changed files
with
6,752 additions
and
158,511 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Publish | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*.*.*' | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
uses: actions/checkout@v2 | ||
- | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.7.2 | ||
bundler-cache: true | ||
- | ||
name: Test | ||
run: bundle exec rake | ||
- | ||
name: Checkout xs3p | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: macintoshpie/xs3p | ||
path: xs3p | ||
- | ||
name: Build HTML | ||
run: | | ||
sudo apt install xsltproc | ||
xsltproc --output index.html xs3p/xs3p.xsl BuildingSync.xsd | ||
stat index.html | ||
- | ||
name: Build Data Dictionary | ||
run: bundle exec rake generate_data_dictionary | ||
- | ||
name: Build Changelog | ||
run: | | ||
# grab the most recent version section from the changelog | ||
python -c 'print(open("CHANGELOG.md").read().split("## ")[1])' > ${{ github.workflow }}-CHANGELOG.md | ||
cat ${{ github.workflow }}-CHANGELOG.md | ||
- | ||
name: Release with Artifacts | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: | | ||
BuildingSync.xsd | ||
index.html | ||
docs/DataDictionary.xlsx | ||
docs/enumerations.json | ||
docs/geometry_reference.pdf | ||
body_path: ${{ github.workflow }}-CHANGELOG.md | ||
prerelease: ${{ contains(github.ref, 'pr') }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.