Merge pull request #193 from crazy-max/bump-artifact-v4

bump actions/upload-artifact and actions/download-artifact to 4
This commit is contained in:
CrazyMax 2024-02-06 18:46:59 +01:00 коммит произвёл GitHub
Родитель 0085b6435c d38942bfac
Коммит 54ebfa24d0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 10 добавлений и 8 удалений

9
.github/workflows/.build.yml поставляемый
Просмотреть файл

@ -108,9 +108,9 @@ jobs:
make -C pkg/${{ inputs.name }} run-verify-${{ matrix.pkg }}
-
name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.name }}
name: build-pkg-${{ inputs.name }}-${{ matrix.pkg }}
path: ./pkg/${{ inputs.name }}/bin/*
if-no-files-found: error
retention-days: 1
@ -136,10 +136,11 @@ jobs:
version: latest
-
name: Download binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ inputs.name }}
path: ./pkg/${{ inputs.name }}/bin
pattern: build-pkg-*
merge-multiple: true
-
name: Generate metadata
run: |

9
.github/workflows/.release.yml поставляемый
Просмотреть файл

@ -101,9 +101,9 @@ jobs:
make -C pkg/${{ inputs.name }} run-verify-${{ matrix.pkg }}
-
name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.name }}
name: release-pkg-${{ inputs.name }}-${{ matrix.pkg }}
path: ./pkg/${{ inputs.name }}/bin/*
if-no-files-found: ignore
retention-days: 1
@ -124,10 +124,11 @@ jobs:
done
-
name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ inputs.name }}
path: ./pkg/${{ inputs.name }}/bin
pattern: release-pkg-*
merge-multiple: true
-
name: Resolve metadata
run: |