Skip to content

Commit

Permalink
Bump actions/{checkout,upload-artifact}
Browse files Browse the repository at this point in the history
Both emit deprecation warnings and `upload-artifact` will start with brownouts on Nov 14.

There are breaking changes https://github.com/actions/upload-artifact/blob/v4.4.3/docs/MIGRATION.md why we need to give unique names for each artifact.
  • Loading branch information
walro committed Nov 6, 2024
1 parent cd2cbaf commit 111aa49
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
container: 84codes/crystal:latest-alpine
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Shards install
run: shards install --production
- name: Spec
Expand All @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
container: 84codes/crystal:latest-alpine
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Format check
run: crystal tool format --check
lint:
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Install make
run: apk add --no-cache make yaml-dev
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Shards install
run: shards install
- name: Spec
Expand All @@ -44,7 +44,7 @@ jobs:
needs: [spec, format, lint]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: docker/metadata-action@v3
id: meta
with:
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
arch: [amd64, arm64]
os: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, debian-10, debian-11, debian-12]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- uses: docker/build-push-action@v3
Expand All @@ -91,9 +91,9 @@ jobs:
build_image=84codes/crystal:latest-${{ matrix.os }}
outputs: builds
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: debs
name: deb-${{ matrix.arch }}-${{ matrix.os }}
path: builds/
- name: Upload to PackageCloud
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
Expand All @@ -119,7 +119,7 @@ jobs:
os: [fedora-39, fedora-40]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- uses: docker/build-push-action@v3
Expand All @@ -132,9 +132,9 @@ jobs:
build_image=84codes/crystal:latest-${{ matrix.os }}
outputs: builds
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: rpms
name: rpm-${{ matrix.arch }}-${{ matrix.os }}
path: builds/
- name: Upload to PackageCloud
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
Expand All @@ -154,7 +154,7 @@ jobs:
runs-on: ubuntu-latest
needs: [spec, format, lint]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- name: Build tar package
Expand All @@ -165,7 +165,7 @@ jobs:
cache-to: type=gha,mode=max
outputs: .
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: tar
path: ./*.tar.gz
Expand Down

0 comments on commit 111aa49

Please sign in to comment.