Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): Updated all download and upload artifacts actions, on v4 artifacts are immutable #184

Merged
merged 2 commits into from
Jun 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/ci-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: build-artifact-api
name: build-artifact-api-tmp
path: build

build:
Expand All @@ -47,9 +47,9 @@ jobs:
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-artifact-api
name: build-artifact-api-tmp
path: build

- name: Set up QEMU
Expand All @@ -76,7 +76,7 @@ jobs:
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-artifact-api
path: build
Expand All @@ -102,7 +102,7 @@ jobs:
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-artifact-api
path: build
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/ci-bareos-app.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Prepare build file
uses: ./.github/actions/prepare-bareos-app
with:
bareos_app: __BAREOS_APP__

- name: Upload artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: build-artifact-__BAREOS_APP__
path: build
Expand All @@ -44,17 +44,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: build-artifact-__BAREOS_APP__
path: build

- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3
with:
image: tonistiigi/binfmt:latest
platforms: all
Expand All @@ -63,7 +63,7 @@ jobs:
uses: ./.github/actions/build-bareos-app

- name: Upload artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: build-artifact-__BAREOS_APP__
path: build
Expand All @@ -73,17 +73,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: build-artifact-__BAREOS_APP__
path: build

- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3
with:
image: tonistiigi/binfmt:latest
platforms: all
Expand All @@ -99,10 +99,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: build-artifact-__BAREOS_APP__
path: build
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: build-artifact-client
name: build-artifact-client-tmp
path: build

build:
Expand All @@ -47,9 +47,9 @@ jobs:
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-artifact-client
name: build-artifact-client-tmp
path: build

- name: Set up QEMU
Expand All @@ -76,7 +76,7 @@ jobs:
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-artifact-client
path: build
Expand All @@ -102,7 +102,7 @@ jobs:
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-artifact-client
path: build
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci-director.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: build-artifact-director
name: build-artifact-director-tmp
path: build

build:
Expand All @@ -47,9 +47,9 @@ jobs:
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-artifact-director
name: build-artifact-director-tmp
path: build

- name: Set up QEMU
Expand All @@ -76,7 +76,7 @@ jobs:
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-artifact-director
path: build
Expand All @@ -102,7 +102,7 @@ jobs:
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-artifact-director
path: build
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci-storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: build-artifact-storage
name: build-artifact-storage-tmp
path: build

build:
Expand All @@ -47,9 +47,9 @@ jobs:
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-artifact-storage
name: build-artifact-storage-tmp
path: build

- name: Set up QEMU
Expand All @@ -76,7 +76,7 @@ jobs:
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-artifact-storage
path: build
Expand All @@ -102,7 +102,7 @@ jobs:
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-artifact-storage
path: build
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci-webui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: build-artifact-webui
name: build-artifact-webui-tmp
path: build

build:
Expand All @@ -47,9 +47,9 @@ jobs:
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-artifact-webui
name: build-artifact-webui-tmp
path: build

- name: Set up QEMU
Expand All @@ -76,7 +76,7 @@ jobs:
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-artifact-webui
path: build
Expand All @@ -102,7 +102,7 @@ jobs:
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-artifact-webui
path: build
Expand Down
Loading