forked from openstudiocoalition/OpenStudioApplication
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (24 loc) · 857 Bytes
/
check_osm_versions.yml
File metadata and controls
30 lines (24 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Check OSM Versions
on:
pull_request:
branches: [ master ]
jobs:
osm-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- name: Verify that OSMs have been updated
shell: bash
run: |
ruby ./developer/ruby/CheckOSMVersions.rb
- name: Suggest correcting steps
if: ${{ failure() }}
shell: bash
run: |
echo "There is a workflow called export_standards_data that you should run first (it's a manual workflow_dispatch workflow)"
echo "or run it locally via 'cd developper/ruby && openstudio export_openstudio_standards_libraries.rb'"
echo ""
echo "Then you should use 'openstudio developper/ruby/UpdateOSMVersions.rb' to version translate the rest of the OSM files."