Skip to content

Test URL

Test URL #201

Workflow file for this run

name: Test URL
on:
push:
branches:
- master
paths:
- ".github/workflows/test-url.yml"
- "**.sh"
pull_request:
branches:
- master
paths:
- ".github/workflows/test-url.yml"
- "**desktop.sh"
- "**ros-base.sh"
schedule:
- cron: "5 1 * * 6" # Weekly on Saturdays at 01:05(GMT)
jobs:
kinetic:
strategy:
matrix:
package: [desktop, ros-base]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Verify shorten-URL
env:
PACKAGE_VERSION: ${{ matrix.package }}
run: |
curl -Ls -o run.sh -w %{url_effective} http://u.ty0.jp/ros-kinetic-$PACKAGE_VERSION | tee url.txt
diff run.sh ros-kinetic-$PACKAGE_VERSION.sh
diff -w url.txt <(echo https://raw.githubusercontent.com/Tiryoh/ros_setup_scripts_ubuntu/master/ros-kinetic-$PACKAGE_VERSION.sh)
melodic:
strategy:
matrix:
package: [desktop, ros-base]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Verify shorten-URL
env:
PACKAGE_VERSION: ${{ matrix.package }}
run: |
curl -Ls -o run.sh -w %{url_effective} http://u.ty0.jp/ros-melodic-$PACKAGE_VERSION | tee url.txt
diff run.sh ros-melodic-$PACKAGE_VERSION-main.sh
diff -w url.txt <(echo https://raw.githubusercontent.com/Tiryoh/ros_setup_scripts_ubuntu/master/ros-melodic-$PACKAGE_VERSION-main.sh)
noetic:
strategy:
matrix:
package: [desktop, ros-base]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Verify shorten-URL
env:
PACKAGE_VERSION: ${{ matrix.package }}
run: |
curl -Ls -o run.sh -w %{url_effective} http://u.ty0.jp/ros-noetic-$PACKAGE_VERSION | tee url.txt
diff run.sh ros-noetic-$PACKAGE_VERSION-main.sh
diff -w url.txt <(echo https://raw.githubusercontent.com/Tiryoh/ros_setup_scripts_ubuntu/master/ros-noetic-$PACKAGE_VERSION-main.sh)