-
Notifications
You must be signed in to change notification settings - Fork 0
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
57ef0f2
commit d46af09
Showing
1 changed file
with
22 additions
and
3 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 |
---|---|---|
|
@@ -40,12 +40,31 @@ jobs: | |
--configurations config.json \ | ||
-f json >> scenepro-entities.ttl | ||
- name: Commit changes to GitHub | ||
id: step-6 | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: scenepro-entities | ||
path: ./scenepro-entities.ttl | ||
retention-days: 1 | ||
|
||
commit-file-to-github: | ||
needs: transform-scenepro-entities | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Download artifacts | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: scenepro-entities | ||
path: ./scenepro-entities | ||
|
||
- name: Commit file to GitHub | ||
run: | | ||
git pull | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Actions" | ||
git add scenepro-entities.ttl | ||
git commit -m "Add ScenePro entities TTL file" | ||
git commit -m "Push ScenePro entities TTL file" | ||
git push |