Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
d601c897
Unverified
Commit
d601c897
authored
Apr 18, 2023
by
Jan Procházka
Committed by
GitHub
Apr 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated workflow (#8089)
parent
248807fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
10 deletions
+14
-10
.github/workflows/lib.yml
.github/workflows/lib.yml
+14
-10
No files found.
.github/workflows/lib.yml
View file @
d601c897
...
...
@@ -15,6 +15,8 @@ env:
SKETCHES_REPORTS_ARTIFACT_NAME
:
libraries-report
RESULT_LIBRARY_TEST_FILE
:
LIBRARIES_TEST.md
JSON_LIBRARY_LIST_FILE
:
.github/workflows/lib.json
GITHUB_TOKEN
:
${{secrets.GITHUB_TOKEN}}
jobs
:
compile-sketch
:
if
:
|
...
...
@@ -80,6 +82,13 @@ jobs:
# Check out repository
-
name
:
Checkout repository
uses
:
actions/checkout@v3
with
:
token
:
${{ env.GITHUB_TOKEN }}
fetch-depth
:
'
0'
-
name
:
Switch branch
run
:
git checkout remotes/origin/gh-pages
# This step is needed to get the size data produced by the compile jobs
-
name
:
Download sketches reports artifact
...
...
@@ -95,22 +104,17 @@ jobs:
destination-file
:
${{ env.RESULT_LIBRARY_TEST_FILE }}
-
name
:
Append file with action URL
uses
:
DamianReeves/write-file-action@master
with
:
path
:
${{ env.RESULT_LIBRARY_TEST_FILE }}
contents
:
|
/ [GitHub Action Link](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}})
write-mode
:
append
run
:
echo "/ [GitHub Action Link](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}})" >> ${{ env.RESULT_LIBRARY_TEST_FILE }}
-
name
:
Push to github repo
run
:
|
git config user.name github-actions
git config user.email github-actions@github.com
git checkout gh-pages
git add ${{ env.RESULT_LIBRARY_TEST_FILE }}
git commit -m "Generated External Libraries Test Results"
git push
git push
origin HEAD:gh-pages
event_file
:
name
:
"
Event
File"
if
:
|
...
...
@@ -122,4 +126,4 @@ jobs:
uses
:
actions/upload-artifact@v2
with
:
name
:
Event File
path
:
${{github.event_path}}
path
:
${{github.event_path}}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment