mirror of
https://github.com/kopia/kopia.git
synced 2026-05-18 19:54:37 -04:00
chore(ci): upgrade workflows to work with actions/{upload,download}-artifact@v4 (#3532)
This commit is contained in:
14
.github/workflows/make.yml
vendored
14
.github/workflows/make.yml
vendored
@@ -100,9 +100,9 @@ jobs:
|
||||
# macOS signing certificate (base64-encoded), used by Electron Builder
|
||||
MACOS_SIGNING_IDENTITY: ${{ secrets.MACOS_SIGNING_IDENTITY }}
|
||||
- name: Upload Kopia Artifacts
|
||||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
|
||||
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
|
||||
with:
|
||||
name: kopia
|
||||
name: kopia-${{ matrix.os }}
|
||||
path: |
|
||||
dist/*.md
|
||||
dist/*.rb
|
||||
@@ -122,9 +122,9 @@ jobs:
|
||||
if-no-files-found: ignore
|
||||
if: ${{ !contains(matrix.os, 'self-hosted') }}
|
||||
- name: Upload Kopia Binary
|
||||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
|
||||
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
|
||||
with:
|
||||
name: kopia_binaries
|
||||
name: kopia_binaries-${{ matrix.os }}
|
||||
path: |
|
||||
dist/*/kopia
|
||||
dist/*/kopia.exe
|
||||
@@ -146,12 +146,14 @@ jobs:
|
||||
- name: Download Artifacts
|
||||
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
|
||||
with:
|
||||
name: kopia
|
||||
pattern: kopia-*
|
||||
merge-multiple: true
|
||||
path: dist
|
||||
- name: Download Kopia Binaries
|
||||
uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0
|
||||
with:
|
||||
name: kopia_binaries
|
||||
pattern: kopia_binaries-*
|
||||
merge-multiple: true
|
||||
path: dist_binaries
|
||||
- name: Display structure of downloaded files
|
||||
run: ls -lR dist/ dist_binaries/
|
||||
|
||||
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -64,9 +64,9 @@ jobs:
|
||||
- name: Integration Tests
|
||||
run: make -j2 ci-integration-tests
|
||||
- name: Upload Logs
|
||||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
|
||||
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
|
||||
with:
|
||||
name: logs
|
||||
name: logs-${{ matrix.os }}
|
||||
path: .logs/**/*.log
|
||||
if-no-files-found: ignore
|
||||
if: ${{ always() }}
|
||||
|
||||
Reference in New Issue
Block a user