Skip to content

Commit

Permalink
upgrade deprecated github actions - artifacts aren't uploaded
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed Feb 9, 2024
1 parent d3a8cda commit c83ccc2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
uses: docker/build-push-action@v5
with:
context: .
push: true
Expand All @@ -51,7 +51,7 @@ jobs:

steps:
- name: checkout vcell-solvers repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install MacOS dependencies
if: matrix.platform == 'macos-latest'
Expand Down Expand Up @@ -330,21 +330,21 @@ jobs:
- name: Upload Macos binaries
if: matrix.platform == 'macos-latest'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: mac64.tgz
path: build/upload/mac64.tgz

- name: Upload Windows binaries
if: matrix.platform == 'windows-latest'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: win64.zip
path: build/upload/win64.zip

- name: Upload Linux binaries
if: matrix.platform == 'ubuntu-latest'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: linux64.tgz
path: build/upload/linux64.tgz
Expand Down

0 comments on commit c83ccc2

Please sign in to comment.