⬆️ upgrade some github actions (#3577)

This commit is contained in:
Matiss Janis Aboltins
2024-10-06 07:06:10 +01:00
committed by GitHub
parent 33a7524cd7
commit dc5d1174c7
2 changed files with 12 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ jobs:
pull-requests: write pull-requests: write
steps: steps:
- name: Wait for ${{github.base_ref}} build to succeed - name: Wait for ${{github.base_ref}} build to succeed
uses: fountainhead/action-wait-for-check@v1.1.0 uses: fountainhead/action-wait-for-check@v1.2.0
id: master-build id: master-build
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
@@ -33,7 +33,7 @@ jobs:
ref: ${{github.base_ref}} ref: ${{github.base_ref}}
- name: Wait for PR build to succeed - name: Wait for PR build to succeed
uses: fountainhead/action-wait-for-check@v1.1.0 uses: fountainhead/action-wait-for-check@v1.2.0
id: wait-for-build id: wait-for-build
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
@@ -46,7 +46,7 @@ jobs:
echo "Build failed on PR branch or ${{github.base_ref}}" echo "Build failed on PR branch or ${{github.base_ref}}"
exit 1 exit 1
- name: Download build artifact from ${{github.base_ref}} - name: Download build artifact from ${{github.base_ref}}
uses: dawidd6/action-download-artifact@v3 uses: dawidd6/action-download-artifact@v6
id: pr-build id: pr-build
with: with:
branch: ${{github.base_ref}} branch: ${{github.base_ref}}
@@ -55,7 +55,7 @@ jobs:
path: base path: base
- name: Download build artifact from PR - name: Download build artifact from PR
uses: dawidd6/action-download-artifact@v3 uses: dawidd6/action-download-artifact@v6
with: with:
pr: ${{github.event.pull_request.number}} pr: ${{github.event.pull_request.number}}
workflow: build.yml workflow: build.yml
@@ -70,14 +70,14 @@ jobs:
sed -i -E 's/index\.[0-9a-zA-Z_-]{8,}\./index./g' ./base/web-stats.json sed -i -E 's/index\.[0-9a-zA-Z_-]{8,}\./index./g' ./base/web-stats.json
sed -i -E 's/\.[0-9a-zA-Z_-]{8,}\.chunk\././g' ./base/web-stats.json sed -i -E 's/\.[0-9a-zA-Z_-]{8,}\.chunk\././g' ./base/web-stats.json
sed -i -E 's/\.[0-9a-f]{8,}\././g' ./base/*.json sed -i -E 's/\.[0-9a-f]{8,}\././g' ./base/*.json
- uses: twk3/rollup-size-compare-action@v1.0.0 - uses: twk3/rollup-size-compare-action@v1.1.1
with: with:
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
current-stats-json-path: ./head/web-stats.json current-stats-json-path: ./head/web-stats.json
base-stats-json-path: ./base/web-stats.json base-stats-json-path: ./base/web-stats.json
title: desktop-client title: desktop-client
- uses: github/webpack-bundlesize-compare-action@v1.8.2 - uses: github/webpack-bundlesize-compare-action@v2.1.0
with: with:
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
current-stats-json-path: ./head/loot-core-stats.json current-stats-json-path: ./head/loot-core-stats.json

View File

@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [MatissJanis]
---
Upgrade some github actions.