-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b4df957
commit bc894f0
Showing
1 changed file
with
5 additions
and
4 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 |
---|---|---|
|
@@ -29,24 +29,25 @@ jobs: | |
|
||
- name: Install models-lib | ||
run: npm install | ||
working-directory: models-lib | ||
working-directory: ./models-lib/ | ||
|
||
- name: Update models-lib with latest data-models | ||
run: npm update @openactive/data-models | ||
working-directory: models-lib | ||
working-directory: ./models-lib/ | ||
|
||
- name: Run .NET models generator | ||
run: npm start -- generate .NET --destination ../OpenActive.NET/OpenActive.NET/ | ||
working-directory: models-lib | ||
working-directory: ./models-lib/ | ||
|
||
- name: Restore OpenActive.NET/models/SportsActivityLocation.cs (Gladstone workaround) | ||
run: git checkout OpenActive.NET/models/SportsActivityLocation.cs | ||
working-directory: ./OpenActive.NET/ | ||
|
||
- name: Create Pull Request | ||
id: cpr | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
path: OpenActive.NET | ||
path: ./OpenActive.NET/ | ||
token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }} | ||
commit-message: Update data models | ||
committer: openactive-bot <[email protected]> | ||
|