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

update upload-artifact version #21098

Merged
merged 1 commit into from
Sep 12, 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/dependency-updater-7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,14 @@ jobs:
fi
- name: Archive dependency diff file
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: dependency-updates-diff
path: |
${{steps.builder_step.outputs.REPO_NAME}}/dependency_updates.diff
- name: Archive maven-build-log file
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: mvn-build.log
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dependency-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,14 @@ jobs:
fi
- name: Archive dependency diff file
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: dependency-updates-diff
path: |
${{steps.builder_step.outputs.REPO_NAME}}/dependency_updates.diff
- name: Archive maven-build-log file
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: mvn-build.log
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fapi-oidc-conformance-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,14 +224,14 @@ jobs:
fi

- name: Archive test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: ./*test_results.zip

- name: Archive test logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: test-logs
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/migration-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
if: ${{ always() }}

- name: Upload Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: always()
with:
name: "logs-${{ github.event.inputs.currentVersion }}-${{ github.event.inputs.migratingVersion }}-${{ github.event.inputs.database }}-${{ github.event.inputs.os }}"
Expand All @@ -150,7 +150,7 @@ jobs:
if: ${{ always() }}

- name: Upload Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: always()
with:
name: "logs-${{ github.event.inputs.currentVersion }}-${{ github.event.inputs.migratingVersion }}-${{ github.event.inputs.database }}-${{ github.event.inputs.os }}"
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
if: ${{ always() }}

- name: Upload Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: always()
with:
name: "logs-${{ github.event.inputs.currentVersion }}-${{ github.event.inputs.migratingVersion }}-${{ github.event.inputs.database }}-${{ github.event.inputs.os }}"
Expand All @@ -229,7 +229,7 @@ jobs:
if: ${{ always() }}

- name: Upload Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: always()
with:
name: "logs-${{ github.event.inputs.currentVersion }}-${{ github.event.inputs.migratingVersion }}-${{ github.event.inputs.database }}-${{ github.event.inputs.os }}"
Expand Down Expand Up @@ -276,7 +276,7 @@ jobs:
if: ${{ always() }}

- name: Upload Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: always()
with:
name: "logs-${{ github.event.inputs.currentVersion }}-${{ github.event.inputs.migratingVersion }}-${{ github.event.inputs.database }}-${{ github.event.inputs.os }}"
Expand Down Expand Up @@ -324,7 +324,7 @@ jobs:
if: ${{ always() }}

- name: Upload Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: always()
with:
name: "logs-${{ github.event.inputs.currentVersion }}-${{ github.event.inputs.migratingVersion }}-${{ github.event.inputs.database }}-${{ github.event.inputs.os }}"
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/oidc-conformance-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
pip3 install psutil
pip3 install httpx
pip3 install httplib2

- name: Clone conformance suite
run: |
sudo snap install jq
Expand All @@ -67,7 +67,7 @@ jobs:
fi
echo ">>> Selected conformance suite branch: $CONFORMANCE_SUITE_BRANCH"
git clone --depth 1 --branch ${CONFORMANCE_SUITE_BRANCH} https://gitlab.com/openid/conformance-suite.git

- name: Adding extra hosts to docker-compose-dev.yml
run: sed -i '/^ volumes.*/i \ \ \ \ extra_hosts:\n \ \ \ \ - "localhost:\$IP\"' ./conformance-suite/docker-compose-dev.yml

Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
sudo curl -L "https://github.com/docker/compose/releases/download/$(curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r .tag_name)/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version

- name: Run Conformance Suite
run: |
DOCKER_COMPOSE_FILE=./docker-compose-dev.yml
Expand All @@ -171,7 +171,7 @@ jobs:
id: stop_is
run: |
sh ./product-is/oidc-conformance-tests/${{ env.PRODUCT_IS_DIR }}/bin/wso2server.sh stop

- name: Test Results
run: |
IS_SUCCESSFUL=false
Expand All @@ -193,14 +193,14 @@ jobs:
fi

- name: Archive test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: ./*test_results.zip

- name: Archive test logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: test-logs
Expand All @@ -212,7 +212,7 @@ jobs:
with:
name: jacoco-exec
path: ./jacoco.exec

- name: Send Email
if: always()
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr-builder-test-JDK11-7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,39 +76,39 @@ jobs:
bash pr-builder-7.sh
- name: Archive PR diff file
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: repo-pr-diff
path: |
${{steps.builder_step.outputs.REPO_NAME}}/diff.diff
if-no-files-found: warn
- name: Archive repo mvn build log
if: always() && steps.builder_step.outputs.REPO_NAME != 'product-is'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: repo-mvn-build-log
path: |
${{steps.builder_step.outputs.REPO_NAME}}/mvn-build.log
if-no-files-found: warn
- name: Archive repo surefire reports
if: always() && steps.builder_step.outputs.REPO_NAME != 'product-is'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: repo-surefire-report
path: |
${{steps.builder_step.outputs.REPO_NAME}}/**/surefire-reports
if-no-files-found: warn
- name: Archive product-is mvn build log
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: product-is-mvn-build-log
path: |
product-is/mvn-build.log
if-no-files-found: warn
- name: Archive product-is surefire reports
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: product-is-surefire-report
path: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr-builder-test-JDK11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,39 +79,39 @@ jobs:
bash pr-builder.sh
- name: Archive PR diff file
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: repo-pr-diff
path: |
${{steps.builder_step.outputs.REPO_NAME}}/diff.diff
if-no-files-found: warn
- name: Archive repo mvn build log
if: always() && steps.builder_step.outputs.REPO_NAME != 'product-is'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: repo-mvn-build-log
path: |
${{steps.builder_step.outputs.REPO_NAME}}/mvn-build.log
if-no-files-found: warn
- name: Archive repo surefire reports
if: always() && steps.builder_step.outputs.REPO_NAME != 'product-is'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: repo-surefire-report
path: |
${{steps.builder_step.outputs.REPO_NAME}}/**/surefire-reports
if-no-files-found: warn
- name: Archive product-is mvn build log
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: product-is-mvn-build-log
path: |
product-is/mvn-build.log
if-no-files-found: warn
- name: Archive product-is surefire reports
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: product-is-surefire-report
path: |
Expand Down