-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(workflows): update deprecated actions
- Loading branch information
1 parent
b399517
commit 28d71e8
Showing
9 changed files
with
65 additions
and
65 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 |
---|---|---|
|
@@ -5,9 +5,9 @@ jobs: | |
name: Get Fonts From Icomoon | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Install dependencies (python, pip, npm) | ||
|
@@ -21,26 +21,26 @@ jobs: | |
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: > | ||
python ./.github/scripts/icomoon_build.py | ||
./.github/scripts/build_assets/geckodriver-v0.32.2-linux64/geckodriver ./icomoon.json | ||
python ./.github/scripts/icomoon_build.py | ||
./.github/scripts/build_assets/geckodriver-v0.32.2-linux64/geckodriver ./icomoon.json | ||
./devicon.json ./icons ./ $GITHUB_TOKEN --headless | ||
- name: Upload geckodriver.log for debugging purposes | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v4 | ||
if: failure() | ||
with: | ||
name: geckodriver-log | ||
path: ./geckodriver.log | ||
|
||
- name: Upload log file for debugging purposes | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: logfile | ||
path: ./log.txt | ||
|
||
- name: Build devicon.min.css | ||
if: success() | ||
if: success() | ||
run: npm run build-css | ||
|
||
# - name: Upload screenshot of the newly made icons | ||
|
@@ -58,11 +58,11 @@ jobs: | |
uses: juliangruber/[email protected] | ||
with: | ||
# taken from icomoon_build.py's get_release_message() | ||
path: ./release_message.txt | ||
path: ./release_message.txt | ||
|
||
- name: Create Pull Request | ||
if: success() | ||
uses: peter-evans/create-pull-request@v3 | ||
if: success() | ||
uses: peter-evans/create-pull-request@v7 | ||
env: | ||
MESSAGE: | | ||
Hello, | ||
|
@@ -81,14 +81,14 @@ jobs: | |
More information can be found in the GitHub Action logs for this workflow. | ||
Adios, | ||
Adios, | ||
Build Bot :sunglasses: | ||
with: | ||
branch: 'bot/build-result' | ||
commit-message: 'Built new icons, icomoon.json and devicon.css' | ||
title: 'bot:build new icons, icomoon.json and devicon.css' | ||
body: > | ||
${{ | ||
${{ | ||
format( | ||
env.MESSAGE, | ||
steps.release_message_step.outputs.content | ||
|
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
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
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
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 |
---|---|---|
|
@@ -2,19 +2,19 @@ name: Post the result of the check_icon_pr workflow into its PR. | |
on: | ||
workflow_run: | ||
workflows: ['Check Icon PR'] | ||
types: | ||
types: | ||
- completed | ||
jobs: | ||
jobs: | ||
post_result_of_svg_check: | ||
name: Post the result of the Check SVG Action | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check if the trigger run worked. If it failed, fail the current run. | ||
if: github.event.workflow_run.conclusion != 'success' | ||
if: github.event.workflow_run.conclusion != 'success' | ||
uses: cutenode/[email protected] | ||
|
||
- name: Download workflow artifact | ||
uses: dawidd6/action-download-artifact@v2.27.0 | ||
uses: dawidd6/action-download-artifact@v7 | ||
if: success() | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -62,7 +62,7 @@ jobs: | |
|
||
- name: Comment on the PR about the result - Failure | ||
uses: jungwinter/[email protected] # let us comment on a specific PR | ||
if: failure() | ||
if: failure() | ||
env: | ||
MESSAGE: | | ||
Hi! | ||
|
Oops, something went wrong.