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

Upgrade actions/{upload,download}-artifact #565

Closed
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
6 changes: 3 additions & 3 deletions .github/workflows/1-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
working-directory: ./src/CarbonAware.WebApi/src

- name: Upload swagger artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: pr-swagger.yaml
path: src/CarbonAware.WebApi/src/wwwroot/api/v1/swagger.yaml
Expand Down Expand Up @@ -184,11 +184,11 @@ jobs:
env:
DOTNET_ROLL_FORWARD: LatestMajor
- name: Upload dev artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: dev-swagger.yaml
path: src/CarbonAware.WebApi/src/wwwroot/api/v1/swagger.yaml
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: pr-swagger.yaml
path: ./src/CarbonAware.WebApi/src/wwwroot/api/v1/pr-swagger.yaml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/2.a-deploy.yaml.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

# steps:
# - name: Download artifact from build job
# uses: actions/download-artifact@v2
# uses: actions/download-artifact@v4
# with:
# name: CarbonAwareApi

Expand All @@ -39,4 +39,4 @@
# app-name: 'carbon-aware-api'
# slot-name: 'Production'
# publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_D9BE266F4F034E79818711107BC7DDC5 }}
# package: .
# package: .
4 changes: 2 additions & 2 deletions .github/workflows/dev_carbon-aware-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/myapp

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: CarbonAwareApi
path: ${{env.DOTNET_ROOT}}/myapp
Expand All @@ -46,7 +46,7 @@ jobs:

steps:
- name: Download artifact from build job
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: CarbonAwareApi

Expand Down
Loading