migrate gallery share test to use actions

Addresses issue #1217