⬆️ Update actions/checkout action to v4.2.1 #338
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Test | |
# yamllint disable-line rule:truthy | |
on: | |
push: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
workflow_dispatch: | |
jobs: | |
information: | |
name: Test add-on information | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⤵️ Check out code from GitHub | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: 🚀 Run add-on information action | |
id: information | |
uses: ./ | |
- name: 🚀 Check run output | |
run: | | |
if [[ "${{ steps.information.outputs.aarch64 }}" != "true" ]]; then | |
echo "::error ::'aarch64' does not have the expected value" | |
exit 1; | |
fi | |
if [[ "${{ steps.information.outputs.amd64 }}" != "true" ]]; then | |
echo "::error ::'amd64' does not have the expected value" | |
exit 1; | |
fi | |
archs="["aarch64","amd64","armhf","armv7","i386"]" | |
if [[ "${{ steps.information.outputs.architectures }}" != "${archs}" ]]; then | |
echo "::error ::'architectures' does not have the expected value" | |
exit 1; | |
fi | |
if [[ "${{ steps.information.outputs.armhf }}" != "true" ]]; then | |
echo "::error ::'armhf' does not have the expected value" | |
exit 1; | |
fi | |
if [[ "${{ steps.information.outputs.build }}" != "test/build.json" ]]; then | |
echo "::error ::'build' does not have the expected value" | |
exit 1; | |
fi | |
if [[ "${{ steps.information.outputs.codenotary_base_image }}" != "[email protected]" ]]; then | |
echo "::error ::'codenotary_base_image' does not have the expected value" | |
exit 1; | |
fi | |
if [[ "${{ steps.information.outputs.codenotary_signer }}" != "[email protected]" ]]; then | |
echo "::error ::'codenotary_signer' does not have the expected value" | |
exit 1; | |
fi | |
if [[ "${{ steps.information.outputs.config }}" != "test/config.yaml" ]]; then | |
echo "::error ::'config' does not have the expected value" | |
exit 1; | |
fi | |
if [[ "${{ steps.information.outputs.description }}" != "This is a test add-on" ]]; then | |
echo "::error ::'description' does not have the expected value" | |
exit 1; | |
fi | |
if [[ "${{ steps.information.outputs.i386 }}" != "true" ]]; then | |
echo "::error ::'i386' does not have the expected value" | |
exit 1; | |
fi | |
if [[ "${{ steps.information.outputs.name }}" != "Test Add-on" ]]; then | |
echo "::error ::'name' does not have the expected value" | |
exit 1; | |
fi | |
if [[ "${{ steps.information.outputs.slug }}" != "test" ]]; then | |
echo "::error ::'slug' does not have the expected value" | |
exit 1; | |
fi | |
if [[ "${{ steps.information.outputs.target }}" != "test" ]]; then | |
echo "::error ::'target' does not have the expected value" | |
exit 1; | |
fi |