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

♻️ CI/CD | Update actions/upload-artifact and actions/download-artifact to v4 #1055

Merged
merged 1 commit into from
Sep 19, 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
4 changes: 2 additions & 2 deletions .github/workflows/admin-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
run: dotnet publish $PROJECT --no-build --configuration Release --output out

- name: Upload a UI Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ui
path: out/wwwroot
if-no-files-found: error

- name: Upload a Infra Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: infra
path: infra
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/admin-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
url: ${{ steps.bicep.outputs.storageAccountUrl }}

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4

- name: Set appsettings.json
if: ${{ inputs.environment == 'staging' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
/p:AndroidSigningKeyAlias=${{ secrets.ANDROID_KEYSTOREALIAS }} `
/p:AndroidSigningStorePass=${{ secrets.ANDROID_KEYSTOREPASSWORD }}

- uses: actions/upload-artifact@v3.1.2
- uses: actions/upload-artifact@v4
with:
name: artifacts-android-${{ inputs.build_number }}
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/android-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
environment: ${{ inputs.environment }}
steps:
- name: Download artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: artifacts-android-${{ inputs.build_number }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/api-az-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

# Download artifacts from build
- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

# Log into Azure
- name: Login
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/api-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

# api
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: api
path: ./api.zip
Expand All @@ -37,7 +37,7 @@ jobs:

# infra
- name: Upload Infra Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: infra
path: ./infra
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/az-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

# Download artifacts from build
- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

# Log into Azure
- name: Login
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ios-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
run: dotnet publish src/MobileUI/MobileUI.csproj -v:diag -f:net8.0-ios -c:Release /p:ArchiveOnBuild=true /p:RuntimeIdentifier=ios-arm64 /p:CodeSignKey="${{ secrets.APPLE_CERT_NAME }}" /p:CodesignProvision="${{ secrets.APPLE_PROFILE_NAME }}"

- name: Upload iOS Artifact
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
name: artifacts-ios-${{ inputs.build_number }}
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ios-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
environment: ${{ inputs.environment }}
steps:
- name: Download artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: artifacts-ios-${{ inputs.build_number }}

Expand Down
Loading