forked from SAP/SapMachine
-
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.
Merge branch 'sapmachine' of https://github.com/SAP/SapMachine into m…
…alloc_hook_replacement
- Loading branch information
Showing
4 changed files
with
46 additions
and
2 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,24 @@ | ||
name: Update Wiki | ||
|
||
description: | | ||
This action updates the wiki with the latest blog posts. | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Update Wiki | ||
run: | | ||
git clone https://github.com/SAP/SapMachine.wiki.git | ||
cd SapMachine.wiki | ||
pip3 install feedparser | ||
python3 scripts/update_blogs.py update > ../out | ||
cat ../out | ||
if grep -q changed ../out; then | ||
git commit -a -m "Update blog posts" | ||
git push | ||
echo "Blog post list updated" | ||
else | ||
echo "No updates" | ||
fi | ||
working-directory: . | ||
shell: bash |
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,18 @@ | ||
# Runs update-wiki update actions every day at 20:00 UTC | ||
|
||
name: 'Wiki Update' | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 20 * * *' | ||
|
||
jobs: | ||
wiki: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Checkout the JDK source' | ||
uses: actions/checkout@v4 | ||
- name: 'Update Wiki' | ||
uses: ./.github/actions/update-wiki | ||
|
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
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