Skip to content

⬆️ Update frenck/action-addon-linter action to v2.17 (#100) #337

⬆️ Update frenck/action-addon-linter action to v2.17 (#100)

⬆️ Update frenck/action-addon-linter action to v2.17 (#100) #337

Workflow file for this run

---
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@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- 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