Skip to content

Commit

Permalink
chore: bump actions/upload-artifact from 3 to 4 (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Dec 26, 2023
1 parent 8b00926 commit 9ddc9ba
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: Get Composer Cache Directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache composer files
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:

- name: Get Composer Cache Directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache composer files
uses: actions/cache@v3
with:
Expand Down
19 changes: 12 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:

- name: Get Composer Cache Directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache composer files
uses: actions/cache@v3
with:
Expand All @@ -80,11 +80,15 @@ jobs:
run: sed -i -e "s%$GITHUB_WORKSPACE/%%g" *.xml
working-directory: results

- name: Fix laravel version
id: laravel
run: echo "version=${{ matrix.laravel-version }}" | sed "s/*/0/g" >> $GITHUB_OUTPUT

- name: Store results
if: matrix.php-version == env.default-php-version && matrix.laravel-version == env.default-laravel-version
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: results
name: results-${{ matrix.php-version }}-${{ steps.laravel.outputs.version }}
path: results


Expand All @@ -102,14 +106,15 @@ jobs:
fetch-depth: 0

- name: Download results
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: results
pattern: results-*
path: results
merge-multiple: true

- name: SonarCloud Scan
if: env.SONAR_TOKEN != ''
uses: SonarSource/sonarcloud-github-action@v1.9
uses: SonarSource/sonarcloud-github-action@v2.1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down Expand Up @@ -154,7 +159,7 @@ jobs:

- name: Store changelog file
if: steps.semantic.outputs.new_release_published == 'true'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: changelog
path: CHANGELOG.md

0 comments on commit 9ddc9ba

Please sign in to comment.