Set artifacts and version from environment variables.